Page 1 of 1

WML + PHP? HOW!

Posted: Sat Feb 26, 2005 2:21 pm
by guest
How Do You Configure An Apache Server To Support PHP Scripts Which Will Generate And Show WML?
Content-Type: text/vnd.wap.wml

Posted: Sat Feb 26, 2005 2:31 pm
by Joe
Not sure here, but would you not be using an xml content type rather than the one you have?.

Posted: Sat Feb 26, 2005 2:34 pm
by Joe
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 ???

Posted: Sat Feb 26, 2005 3:03 pm
by feyd
there's nothing you really should have to do as long as you send the right headers back to the client.. header()

Posted: Sat Aug 27, 2005 7:55 am
by anjanesh
According to wikipedia, you need a WAP gateway ?

Posted: Sun Aug 28, 2005 4:56 am
by onion2k
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). ;)