Re: [PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-15 Thread Raditha Dissanayake
As Tom has said you are going back to square one. If you can spend the effort to make XHTML you can just as easily create an XSL Shaun wrote: Justin, Thank you for you replies, I have decided to convert the whole site to XHTML, for compatability. However, I am unable to view the site through my

Re: [PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-12 Thread Raditha Dissanayake
Hi Justin et al, Yes you are right that user agent field is not always reliable but 98% of the time you will be able to tell if it's a mobile or a pc. That's good enough. If someone fakes the header they will just get a wrong content type and no harm done. I first did a wap site with php using

Re: [PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-11 Thread Justin French
On Sunday, October 12, 2003, at 12:02 PM, Manuel Vázquez Acosta wrote: Take a look at what is printed by: var_dump($_SERVER); Maybe the HTTP_USER_AGENT can lead you to somewhere out of this problem. Manu. "Shaun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have created