> -Original Message-
> From: Mignon Hunter [mailto:[EMAIL PROTECTED]]
> Sent: 20 January 2003 18:40
>
> Ah, but I wasnt at a mozilla browser, I was accessing this
> script from a
> ie browser client.
Let me repeat -- that was the IE browser *masquerading* as Mozilla-compatible. ALL
ver
Ah, but I wasnt at a mozilla browser, I was accessing this script from a
ie browser client.
>From my mozillia client I get the following:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918 browser
The script sits on an apache web server?
On Mon, 2003-01-20 at 12:29, Ford, Mike [L
> -Original Message-
> From: Mignon Hunter [mailto:[EMAIL PROTECTED]]
> Sent: 20 January 2003 17:05
>
> Does anyone know of script or tutorial to point me to that can obtain
> client browser info, (got that part)
>
> but then using php, be able to use if statements to distinguish what
> t
> -Original Message-
> From: Mignon Hunter [mailto:[EMAIL PROTECTED]]
> Sent: 20 January 2003 16:32
>
> Question: Why is it that from an IE client I get the following:
>
> Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
>
> Why does it say mozilla ???
The clue here is in the next wo
Hey guys,
Does anyone know of script or tutorial to point me to that can obtain
client browser info, (got that part)
but then using php, be able to use if statements to distinguish what
they're using. example msie 5.1 - netscape - aol...And act upon it.
I know the logic but am clueless on the c
Use this to get the array in which you can find the var you need:
";
print_r($_SERVER);
print "";
?>
So this is the var you're looking for:
$_SERVER["HTTP_USER_AGENT"];
-Oorspronkelijk bericht-
Van: Mignon Hunter [mailto:[EMAIL PROTECTED]]
Verzonden: maandag 20 januari 2003 16:05
Aan:
Well, it is a global variable/defined by PHP
write a script like this:
and run it. This shoudl shed some light on the situation...
-Brad
> Hello all,
>
> I need a quick script to get the client's browser make and model.
> ie 5 ns 4.7 etc.
>
> I've found some info in two books but no examples
$_SERVER['HTTP_USER_AGENT'] - contains most/all of what you need. if you
want color settins etc,. you'll have to include some javascript.
hth
jeff
Mignon Hu