RE: [PHP] why isn't get_browser() not working?

From: Date: Mon, 30 Apr 2001 13:21:35 +0000
Subject: RE: [PHP] why isn't get_browser() not working?
Groups: php.general 
Request: Send a blank email to php-general+get-50845@lists.php.net to get a copy of this message
> -----Original Message----- > From: elias [mailto:elias_bachaalany@yahoo.com] > Sent: Monday, April 30, 2001 1:05 PM > To: php-general@lists.php.net > 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 (roedelm@letu.edu) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full." LeTourneau University || -- Henry Kissinger

« previous php.general (#50845) next »