Forum Moderators: open

Message Too Old, No Replies

WAP: automatically directing mobiles to the right page?

         

partha

4:37 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



Let's say I have www.mysite.com with index.php. How do I get it to automatically return an HTML page to HTML browsers and a WML page to WML browsers?

tedster

9:58 pm on Jul 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the way this is usually done is on the server, by using a script to check what mime types will be accepted in the HTTP header sent by the user agent, and then sending to the wml page if the mime type text/vnd.wap.wml is found.

Exact script will depend on what server side technology you have available.