Re: [PHP-WIN] WAP

2002-01-23 Thread Charlie Killian
I wrote a PHP class to check whether it is a WAP or Web browser depending on the HTTP_ACCEPT. You can view here: http://www.tizac.com/php/DeviceType.txt Hope this helps. Charlie "Laserjetter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks, that would

Re: [PHP-WIN] WAP

2002-01-18 Thread Ross Fleming
I'd personally do it in PHP. But there aren't standard wap browsers unfortunately (ie in real PC's, you'd only really ever see IE, Netscape, Mozilla etc). I don't know of a fully comprehensive list of browser identities, but these should get you started: from http://allnetdevices.com/faq This

Re: [PHP-WIN] WAP

2002-01-18 Thread LaserJetter
Thanks, that would probably work. What I wanted to do was distinguish between a web browser and a WAP browser so that if (isWAP) { echo "WAP content"; } else { echo "HTML content"; } I'll try those things anyway - The WAP site is working anyway and I've set up a redirect from my main sit

Re: [PHP-WIN] WAP

2002-01-18 Thread LaserJetter
Thanks! They've been useful. How do I detect whether a WAP browser is being used? I know how to check whether Netscape or IE is being used via JavaScript. Is this how to do it with WAP? "Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This is pa

RE: [PHP-WIN] WAP

2002-01-17 Thread Ross Fleming
This is part of my final year project at university, so hopefully I'll be able to help you. Some pointers... 1. visit http://www.allnetdevices.com/faq/ for wml info 2. never assume the size of a WAP phone screen, no two are alike. 3. keep the pages TINY! WAP phones have very little memory, and d