$HTTP_USER_AGENT
| From: | Sean Kennedy | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | $HTTP_USER_AGENT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90819@lists.php.net to get a copy of this message | ||
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