Re: any error?
| From: | David Robley | Date: | Thu, 07 Sep 2000 02:10:13 +0000 |
| Subject: | Re: any error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15634@lists.php.net to get a copy of this message | ||
On Thu, 07 Sep 2000, Ami Choksi wrote:
> Hello,
> I am using the follwing code.
>
> <?php
> function list_array ($array) {
> while (list ($key, $value) = each ($array)) {
> $str .= "<b>$key:</b> $value<br>\n";
> }
> return $str;
> }
> echo "$HTTP_USER_AGENT<hr>\n";
> $browser = get_browser();
> echo list_array ((array) $browser);
> ?>
>
> It displays only for $HTTP_USER_AGENT and 0: afterwords. Nothing else.
> Any error is there?
If you don't have a browscap.ini file, you'll get that result.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA