|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Problems viewing PHP through WAP
I have downloaded some PHP scripts that allow you to access Hotmail through WAP. I have set these up on my Apache at home. From work, I use WinWAP (Emulator) and I can access my hotmail through WAP with no problems. However, when I try to access it through my two mobile phones, I get the following errors:
Samsung X600: I get to the login screen. I can login successfully. When I click on the Inbox folder (or any other folder), I get thrown back to the login screen. Nokia 6610: I cannot even get the login screen. I get "File Format Unknown". I get this same error on the Nokia 3200. Any ideas? By the way, if you want to test the script, it's temporarily setup at: URL |
|
#2
|
||||
|
||||
|
does the place you got the script from have no supprt forum?
that's the problem with other people's scripts, as you didn't write it you don't understand it and therefore can't debug it when it goes pear shaped. file format unknown would indicate the phone can't render the file tho, have you got the right content-type setup for wml? example .htaccess for *nix AddType text/vnd.wap.wml wml
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#3
|
|||
|
|||
|
Same problem !!
Licho,
I have the same problem ! Are you find any solution ? |
|
#4
|
|||
|
|||
|
My source code is:
<?php Header("Content-type: text/vnd.wap.wml"); ?> <wml> <card> Dinamikus: <?php echo '<strong>OK</strong>'; ?> </card> </wml> The output source code is: HTTP/1.1 200 OK Date: Sun, 19 Sep 2004 09:29:24 GMT Server: Apache/2.0.50 (Unix) mod_perl/1.99_13 Perl/v5.6.1 mod_ssl/2.0.50 OpenSSL/0.9.7b DAV/2 PHP/4.3.8 SVN/1.1.0-rc1 X-Powered-By: PHP/4.3.8 Connection: close Content-Type: text/vnd.wap.wml Content-Language: hu --[ HEADER END ]------ <wml> <head> <meta http-equiv="Cache-Control" content="no-cache" forua="true"/> <meta http-equiv="Cache-Control" content="must-revalidate" forua="true"/> <meta http-equiv="Cache-Control" content="no-cache" forua="true"/> <meta http-equiv="Content-type" content="text/vnd.wap.wml"/> </head> <card> Dinamikus: <strong>OK</strong></card> </wml> Any ideas? |
|
#5
|
|||
|
|||
|
Here is the solution
The access key for the solution is that line:
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> That is the correct version ! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Problems viewing PHP through WAP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|