browscap.ini questions
| From: | Janean Elmore-Dozier | Date: | Wed, 28 Jun 2000 17:49:14 +0000 |
| Subject: | browscap.ini questions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3609@lists.php.net to get a copy of this message | ||
I am a rookie, so I appreciate any help you can give!
This is the code fragment from php.net that I am playing with.
<?php
3 function list_array ($array) {
4 while (list ($key, $value) = each ($array)) {
5 $str .= "<b>$key:</b> $value<br>\n";
6 }
7 return $str;
8 }
9 echo "$HTTP_USER_AGENT<hr>\n";
10 $browser = get_browser();
11 echo list_array ((array) $browser);
12 ?>
The only results I get show what I am sure is the result of line 9. Is this
because I dont have an adequate browscap.ini on my server? Is browscap.ini
even used on a Linux server? If so, where is it located? Im not having
any luck finding it.
Is there something else I am doing wrong?
Thanks,
Neana