Browser Detection another page
| From: | PETCOL | Date: | Fri, 13 Feb 2004 00:57:59 +0000 |
| Subject: | Browser Detection another page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177558@lists.php.net to get a copy of this message | ||
PHP Newbie here,
I have been able to work out how to detect the browser I'm looking for.
Then I need to take the user to another page.
<? php
if (strstr($HTTP_USER_AGENT,'Windows CE')) {
//go to the Windows CE version of the site
} else {
// go to or Stay on the large version
}
?>
Suggestions
Col