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 =

[PHP] Mozilla/Opera issue

2007-02-20 Thread Chris Aitken
Hi All, I am clutching at straws here, but I have come across an issue that I don't know whether it's a PHP problem in my coding, or HTML, or something entirely different but I've never seen this happen before, and this list has always helped me out in the past with odd problems. I am

Re: [PHP] Mozilla/Opera issue

2007-02-20 Thread Németh Zoltán
2007. 02. 20, kedd keltezéssel 21.40-kor Chris Aitken ezt írta: Hi All, I am clutching at straws here, but I have come across an issue that I don't know whether it's a PHP problem in my coding, or HTML, or something entirely different but I've never seen this happen before, and this

Re: [PHP] Mozilla/Opera issue

2007-02-20 Thread clive
Your code is probably flawed,try putting some debug code in, echo out some variables and see what happens. -- Regards, Clive. Real Time Travel Connections {No electrons were harmed in the creation, transmission or reading of this email. However, many were excited and some may well have

Re: [PHP] Mozilla/Opera issue

2007-02-20 Thread Richard Lynch
We'd have to see source, but odds are really good that you are doing something like this: $page = $_SESSION['page']; $query = select stuff from reeds where .. limit 10 * $page; $_SESSION['page'] = $_GET['page']; So you are updating the 'page' a bit too late Of course, you've got a few hundred

Re: [PHP] mozilla urlencode

2005-06-05 Thread Marek Kilimajer
John Taylor-Johnston wrote: This works: District of St. Francis http://www.glquebec.org/tezt.php#District+of+St.+Francis a name=District+of+St.+Francis/a This does not: Montréal District #2 http://www.glquebec.org/tezt.php#Montr%E9al+District+%232 a name=Montr%E9al+District+%232/a I'm

Re: [PHP] mozilla urlencode

2005-06-05 Thread Jochem Maas
John Taylor-Johnston wrote: This works: District of St. Francis http://www.glquebec.org/tezt.php#District+of+St.+Francis a name=District+of+St.+Francis/a This does not: Montréal District #2 http://www.glquebec.org/tezt.php#Montr%E9al+District+%232 a name=Montr%E9al+District+%232/a I'm

Re: [PHP] mozilla urlencode

2005-06-05 Thread John Taylor-Johnston
Egads!! But thank you for the research. Back to the drawing board. John Jochem Maas wrote: John Taylor-Johnston wrote: a name=District+of+St.+Francis/a a name=Montr%E9al+District+%232/a I'm beginning to see the problem lies with the French character é. I don't see it being #. In any case, I

Re: [PHP] mozilla urlencode

2005-06-04 Thread John Taylor-Johnston
I sent this to Mozilla groups. I'm beginning to wonder if Mozilla supports a name=? I think re-asked my question clearer below. John i dont think having a + in an achor tag is standard.. but i could be wrong. I'm truly hoping this is a reported bug already. This URL does not work in most

RE: [PHP] mozilla urlencode

2005-06-04 Thread Pablo Gosse
snip echo a name=\.urlencode($mydata-district).\/a; a name=Montr%E9al+District+%234/a http://foo.org/_private/directory.php#Montr%E9al+District+%234 works in IE6, but Mozilla will not accept it. Mozilla does not work. Am I approaching this wrong? Should I create my HTML this way? echo a

Re: [PHP] mozilla urlencode

2005-06-04 Thread Marek Kilimajer
John Taylor-Johnston wrote: I seem to have a problem with Mozilla or with IE? echo a name=\.urlencode($mydata-district).\/a; a name=Montr%E9al+District+%234/a http://foo.org/_private/directory.php#Montr%E9al+District+%234 works in IE6, but Mozilla will not accept it. Mozilla does not work.

Re: [PHP] mozilla urlencode

2005-06-04 Thread John Taylor-Johnston
This works: District of St. Francis http://www.glquebec.org/tezt.php#District+of+St.+Francis a name=District+of+St.+Francis/a This does not: Montréal District #2 http://www.glquebec.org/tezt.php#Montr%E9al+District+%232 a name=Montr%E9al+District+%232/a I'm beginning to see the problem lies

[PHP] mozilla urlencode

2005-06-03 Thread John Taylor-Johnston
I seem to have a problem with Mozilla or with IE? echo a name=\.urlencode($mydata-district).\/a; a name=Montr%E9al+District+%234/a http://foo.org/_private/directory.php#Montr%E9al+District+%234 works in IE6, but Mozilla will not accept it. Mozilla does not work. Am I approaching this wrong?

Re: [PHP] mozilla urlencode

2005-06-03 Thread Sebastian
i dont think having a + in an achor tag is standard.. but i could be wrong. John Taylor-Johnston wrote: I seem to have a problem with Mozilla or with IE? echo a name=\.urlencode($mydata-district).\/a; a name=Montr%E9al+District+%234/a

[PHP] mozilla

2003-10-16 Thread Joseph Bannon
Does IE use mozilla? I'm writing a PHP script to keep track of user agents. J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mozilla

2003-10-16 Thread Chris W. Parker
Joseph Bannon mailto:[EMAIL PROTECTED] on Thursday, October 16, 2003 9:24 AM said: Does IE use mozilla? I'm writing a PHP script to keep track of user agents. 1. Your question isnt' clear. 2. Please don't submit lazy lazy lazy questions like this to the list. (I think) You also asked the

RE: [PHP] mozilla

2003-10-16 Thread Joseph Bannon
Does IE use mozilla? I'm writing a PHP script to keep track of user agents. Your question isnt' clear. What is not clear about it? I'm trying to keep keep track of user agents with php. J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mozilla

2003-10-16 Thread Ray Hunter
Heavens no... -- Ray On Thu, 2003-10-16 at 10:24, Joseph Bannon wrote: Does IE use mozilla? I'm writing a PHP script to keep track of user agents. J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mozilla

2003-10-16 Thread Chris W. Parker
Joseph Bannon mailto:[EMAIL PROTECTED] on Thursday, October 16, 2003 9:33 AM said: Your question isnt' clear. What is not clear about it? I'm trying to keep keep track of user agents with php. I think you mean to say Does the word 'mozilla' appear in the IE user agent string? And my

Re: [PHP] mozilla

2003-10-16 Thread John Nichel
Joseph Bannon wrote: Does IE use mozilla? I'm writing a PHP script to keep track of user agents. Your question isnt' clear. What is not clear about it? I'm trying to keep keep track of user agents with php. J. Then write some test scripts, or google. IE identifies as Mozilla because, and I

RE: [PHP] mozilla

2003-10-16 Thread Chris W. Parker
John Nichel mailto:[EMAIL PROTECTED] on Thursday, October 16, 2003 9:39 AM said: Then write some test scripts, or google. I used user agent strings and gosh darn it, look what I found!! (page is slow to load) http://www.pgts.com.au/pgtsj/pgtsj0208c.html Chris. p.s. Please properly strip

RE: [PHP] mozilla

2003-10-16 Thread Joseph Bannon
I think you mean to say Does the word 'mozilla' appear in the IE user agent string? That is not what I'm asking. I already know it appears there. But I already got my answer. Now my question is if IE doesn't use mozilla, why does it put it in the user agent? J. -- PHP General Mailing List

RE: [PHP] mozilla

2003-10-16 Thread Chris W. Parker
Joseph Bannon mailto:[EMAIL PROTECTED] on Thursday, October 16, 2003 9:47 AM said: I think you mean to say Does the word 'mozilla' appear in the IE user agent string? That is not what I'm asking. I already know it appears there. But I already got my answer. ok well then that proves my

RE: [PHP] mozilla

2003-10-16 Thread Joseph Bannon
Thanks John, you answered my question. J. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mozilla

2003-10-16 Thread Chris Shiflett
--- Joseph Bannon [EMAIL PROTECTED] wrote: Does IE use mozilla? No. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mozilla and german 'Umlaute'

2003-09-13 Thread Thomas Weber
Hi, i have a strange problem with Mozilla. When submitting a form, german umlaute (ä (ae), ü (ue) and others) become strange 16bit-chars like 'ä'. I've tested this with PHP as dynamic Apache-module and with an own webserver written in PHP. Doctype and other XML-specific things in the page with

Re: [PHP] Mozilla and german 'Umlaute'

2003-09-13 Thread Dan Anderson
Does anyone know this problem? Does someone have a solution for this? You are probably using UTF16 (or is it called UTF8?) encoding which allows many spiffier things then ASCII. There are functions to allow conversion between UTF and ASCII. I ran into this problem when a spanish client tried