HELP!

From: Date: Fri, 12 May 2000 15:28:30 +0000
Subject: HELP!
Groups: php.general 
Request: Send a blank email to php-general+get-37@lists.php.net to get a copy of this message
I wonder if someone can help me. I downloaded browscap.ini off a site (I forget which , but its one that others have downloaded it from as thats where I got the URL). I put it in /var/lib/apache/lib/ - I updated my php.ini to reflect this, and restarted apache. So... I used the following code out of the helpfile - <?php function list_array( $browser ) { while ( list( $key, $value ) = each( $browser ) ) { $str .= "<b>$key:</b> $value<br>\n"; } return $str; } echo "$HTTP_USER_AGENT<hr>\n"; $browser = get_browser(); echo list_array( (array) $browser ); ?> So - why do I only get this output and more to the point, how can I fix it? Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) ---------------------------------------------------------------------------- ---- 0: Thanks. I desparately want this to work. Liz PS - Im reasonably new and so yes its probably something real dumb.

« previous php.general (#37) next »