browser detection
| From: | wm | Date: | Tue, 25 Sep 2001 22:54:22 +0000 |
| Subject: | browser detection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68784@lists.php.net to get a copy of this message | ||
hi all,
anybody know the function for browser detection?
what i want to do is set a variable $spacerheight to a value dependent
upon whether the user is on a mac or a pc.
then i can say height=<? echo "$spacerheight"; ?> in the html.
i tried using javascript a few diff ways with this and it didn't work.
so, if anybody knows that function or if there is another way, please
let
me know.
thanks.