|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hi, I am trying to do a search using perl to output the wml file so that it can use in wap phone.
The problem i face is that the wap browser reported "Unsupported File type...." Any can tell me how the fix this? I know that php can do it by putting the "<? header("Content-type: text/vnd.wap.wml"); ?>"" on the first line of script, but how in perl.... |
|
#2
|
|||
|
|||
|
Start here -> http://www.devshed.com/Talk/Forums/Forum5/HTML/002497.html
|
|
#3
|
|||
|
|||
|
Hi, thanks for your reply...
I had tried to put the file(.htaccess) with the code below into cgi-bin which the search.cgi is located. AddType text/vnd.wap.wml wml cgi AddType image/vnd.wap.wbmp wbmp AddType text/vnd.wap.wmlscript wmls AddType application/vnd.wap.wmlc wmlc AddType application/vnd.wap.wmlscriptc wmlsc BUT, the problem still cannot be fixed? It prompt the error message:- Unsupported Content-type: text/html why? Am i put the file wrongly or the code inside .htaccess?? Can please help, this is urgent....thanksssss |
|
#4
|
|||
|
|||
|
Hi
when I had this problem I edited the mime.types file in the /etc directory and addedthis: text/vnd.wap.wml wml image/vnd.wap.wbmp wbmp application/vnd.wap.wmlc wmlc text/vnd.wap.wmlscript wmls application/vnd.wap.wmlscriptc wmlsc then did a reboot. this is on RED Hat Linux Remember to make a copy before changing the file (just in case) |
|
#5
|
|||
|
|||
|
Is there any browser available for testing wml pages.
Actually i have CGI::WML in my Linux Box. I want to write wml pages . I am using windows 95 for my testing . Is there any wml browsers there? If so wherecan i download? vijay |
|
#6
|
|||
|
|||
|
Mix 1 bit of Ope with 1 bit of ra and you get the name of the best browser available.
For the lazy ones: Ope + ra = Opera Url: www.opera.com |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Perl and WML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|