> -----Original Message-----
> From: elias [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] why isn't get_browser() not working?
>
>
> hello.
> i'm trying to detect what browser version is there...i'm
> using get_browser() as it was documented:
>
> $t = get_browser();
>
> var_dump($t);
>
> and all i can get like output is:
> bool(false)
According to http://php.net/manual/en/function.get-browser.php, the
get_browser() function looks up its information in a browscap.ini file.
I'd start by making sure that you actually have a browscap.ini, and that
your copy of PHP is configured properly to be able to locate it.
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]