Re: PHP & WML

From: Date: Fri, 18 Aug 2000 05:28:53 +0000
Subject: Re: PHP & WML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12409@lists.php.net to get a copy of this message
> Hi > > I want to make WAP-version of my site (working at PHP) > Is there tutorials or samples? It is realy easy.. Just learn WAP... Then you can send all the custom headers you want with the PHP header() function. You can have your site be totally dynamic. First you can recognise if the requesting web brower is a traditional browser first by checking the $HTTP_USER_AGENT variable. If it is a regular web browser, just do what you normally do. if $HTTP_USER_AGENT is noticably a phone, then you can speak WAP to it. This is a perfect world if you have all of your data in a database or XML. If you don't, then it will be quite a lot of work. -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.jeremybrand.com/jeremy/brand/jeremy_brand.html for more __

« previous php.general (#12409) next »