RE: [PHP] Browser Detect
| From: | Przem Kowalczyk | Date: | Mon, 04 Dec 2000 12:32:58 +0000 |
| Subject: | RE: [PHP] Browser Detect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28563@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Website4S@aol.com [mailto:Website4S@aol.com]
> Sent: Monday, December 04, 2000 1:28 PM
> To: php-general@lists.php.net
> Subject: [PHP] Browser Detect
>
>
> Hi is it possible to write a browser detect page using PHP and
> then direct
> the user to a specific location depending on their browser type?
>
Yes. You can check $HTTP_USER_AGENT var and on its base decide about
header("Location: ....");
Przem