Re: browscap.ini questions
| From: | Stefan Ubbink | Date: | Fri, 30 Jun 2000 09:13:34 +0000 |
| Subject: | Re: browscap.ini questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3994@lists.php.net to get a copy of this message | ||
On Wed, 28 Jun 2000, Brian C. Doyle wrote:
>I got a copy of a browser.ini for linux and put with the php.ini file and
>restarted the webserver. I then check to ensure that php had it and it is
>there but I am getting the same error. I get line 9 but that is it? What
>am I missing?
>
Where did you get the browser.ini? is the browser you use in the
browscap.ini? you might try to use a windows browser to look at the page.
because most windows browsers are in the browscap.ini file.
>
>12:49 PM 6/28/00 -0500, Janean Elmore-Dozier wrote:
>>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 don't have an adequate browscap.ini on my server? Is browscap.ini
>>even used on a Linux server? If so, where is it located? I'm not having
>>any luck finding it.
>>Is there something else I am doing wrong?
>>Thanks,
>>Neana
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
Stefan Ubbink
--
11:10am up 21 days, 20:11, 6 users, load average: 0.80, 0.64, 0.38
on IRIX64 antarctica 6.5 01221553 IP27