get_browser() problem ?

From: Date: Fri, 29 Mar 2002 14:35:29 +0000
Subject: get_browser() problem ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90673@lists.php.net to get a copy of this message
Hi all, I'm trying to get some info from get_browser() function. But, I'm getting a page can not be displayed error. The script is a simple one as give below. My hosting comapny says, get_browser() works on their system and there must be some error in my script but I couldn't find any error. Can some one tell me if indeed I have an error there ? I have PHP 4.1.2 running on freeBSD. detail PHP configuration can be found here http://66.216.8.221/phpi.php and the script is http://66.216.8.221/brw.php Any help would be much appreciated. Regards R'twick Code copied from the browser script : ------------------------------------------ <HTML> <HEAD><TITLE> BROWSER TEST</TITLE></HEAD> <BODY> <?php echo "$HTTP_USER_AGENT<hr>\n"; $br = get_browser($HTTP_USER_AGENT); while (list($k,$v)=each($br)) echo "$k = $v<BR>"; ?> </BODY> </HTML>

« previous php.general (#90673) next »