SunQuest
           WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 15th, 2004, 10:34 AM
Licho Licho is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 Licho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 16th, 2004, 07:10 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
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

Reply With Quote
  #3  
Old September 19th, 2004, 04:23 AM
Depraved Depraved is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 Depraved User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Same problem !!

Licho,


I have the same problem ! Are you find any solution ?

Reply With Quote
  #4  
Old September 19th, 2004, 04:48 AM
Depraved Depraved is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 Depraved User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #5  
Old September 19th, 2004, 06:23 AM
Depraved Depraved is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 Depraved User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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 !

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Problems viewing PHP through WAP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway