Re: $HTTP_USER_AGENT

From: Date: Tue, 02 Apr 2002 12:41:46 +0000
Subject: Re: $HTTP_USER_AGENT
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-91106@lists.php.net to get a copy of this message
Have a look here: http://www.evilwalrus.com/viewcode.php?codeEx=313 Craig Donnelly "Eric Coleman" <eric.coleman@zaireweb.com> wrote in message news:000b01c1d845$55158020$0201a8c0@zaireweb... > Why not echo $HTTP_USER_AGENT and find out? > > ----- Original Message ----- > From: "Sean Kennedy" <gdesigns@vcn.com> > To: <php-general@lists.php.net> > Sent: Saturday, March 30, 2002 11:43 AM > Subject: [PHP] $HTTP_USER_AGENT > > > > Hello, > > > > Im making a small php script, but I need to know how to do something. > > > > My problem is: I have a script thats like this: > > > > <?php > > if ($HTTP_USER_AGENT == "WHAT GOES HERE FOR IE AND NS?") { > > echo "You have Internet Explorer"; > > } else { > > echo "You have Netscape"; > > } > > ?> > > > > Do you know what I mean? Thanks, > > > > -Sean > > Kennedy > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > >

« previous php.general (#91106) next »