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
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
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:
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
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
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
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
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 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 =
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
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
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
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
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
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
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
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
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
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.
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
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?
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
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
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
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
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
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
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
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
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
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
Thanks John, you answered my question.
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- 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
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
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
35 matches
Mail list logo