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

2003-10-15 Thread Shaun
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 phones WAP browser, does this mean XHTML is only compatible with PC's and PDA's? I have validadted the code at http://validator.w3.org ...

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

2003-10-15 Thread Tom Rogers
Hi, Thursday, October 16, 2003, 1:28:23 AM, you wrote: S Justin, S Thank you for you replies, I have decided to convert the whole site to S XHTML, for compatability. However, I am unable to view the site through my S phones WAP browser, does this mean XHTML is only compatible with PC's and S

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

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

2003-10-12 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 an

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

2003-10-12 Thread Tom Rogers
Hi, Sunday, October 12, 2003, 4:53:27 PM, you wrote: JF 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]

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

2003-10-12 Thread Justin French
On Sunday, October 12, 2003, at 07:46 PM, Tom Rogers wrote: From my experience css is even more unreliable than user agent being set and all browser producers seem to have their own idea of what a standard is supposed to look like as well. At least with table layouts most of the current

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

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

2003-10-11 Thread PHP Webmaster
Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have created an online system, and have created a WAP version, and am currently crreating a PDA version. What I wuold like to to do is give out the same URL instead of domain.com for normal use, domain.com/wap/ or

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

2003-10-11 Thread Manuel Vázquez Acosta
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 an online system, and have created a WAP version, and am currently