Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 4:39 AM, Dave M G [EMAIL PROTECTED] wrote: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Jochem Maas
Dave M G schreef: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a desktop or mobile. Part of the code looks like

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Richard Heyes
I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a desktop or mobile. Try another detection script. Eg my own:

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Dave M G
Richard, Thanks for responding. http://www.phpguru.org/static/browser.html I may just do that. If it works out for my needs, I'll let you know. Really, right now I'm doing browser detection to simply sort incoming browsers into desktops, bots, and mobile. If I can get your script to do

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Shawn McKenzie
Jochem Maas wrote: Dave M G schreef: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a desktop or mobile. Part of

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Richard Heyes
By the way, another thing I'm trying to do is reliably test to see if a browser accepts cookies. I just looked through your PHP blog, and didn't see that specifically listed, but since I'm emailing you already, may I ask if you have a script that does that? Or a good recommendation? Just send

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Jochem Maas
Shawn McKenzie schreef: Jochem Maas wrote: Dave M G schreef: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a

Re: [PHP] Mozilla user agent escapes detection

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 5:49 PM, Jochem Maas [EMAIL PROTECTED] wrote: Shawn McKenzie schreef: Jochem Maas wrote: Dave M G schreef: PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site.

[PHP] Mozilla user agent escapes detection

2008-09-01 Thread Dave M G
PHP List, I have a script, part of which is taken from a script I found on the 'net, which tries to detect the user agent of the browser accessing the site. One of the reasons I'm doing this is to find out if the browser is a desktop or mobile. Part of the code looks like this: $ua =