PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
guest
Forum Commoner
Posts: 25 Joined: Sat Nov 22, 2003 11:50 pm
Post
by guest » Sat Feb 26, 2005 2:21 pm
How Do You Configure An Apache Server To Support PHP Scripts Which Will Generate And Show WML?
Content-Type: text/vnd.wap.wml
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Sat Feb 26, 2005 2:31 pm
Not sure here, but would you not be using an xml content type rather than the one you have?.
Joe
Forum Regular
Posts: 939 Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow
Post
by Joe » Sat Feb 26, 2005 2:34 pm
Second thoughts, if that does not work then perhaps you could use an AddType directive within the Apache configuration?. Perhaps you should add:
application/x-httpd-php .wml ???
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Feb 26, 2005 3:03 pm
there's nothing you really should have to do as long as you send the right headers back to the client..
header()
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Sat Aug 27, 2005 7:55 am
According to
wikipedia , you need a WAP gateway ?
onion2k
Jedi Mod
Posts: 5263 Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com
Post
by onion2k » Sun Aug 28, 2005 4:56 am
anjanesh wrote: According to
wikipedia , you need a WAP gateway ?
No, the WAP gateway is something that the phone company runs. It's rather like a proxy. You connect to it from your WAP phone, then any requests you send go from your phone, to the gateway, and then to the web server.
This is a really good book about it:
http://www.amazon.com/exec/obidos/tg/de ... 0?v=glance
And I'm not just saying that because my name is in the credits for it (I tech review'd it).