Re: Error whith printer_list()
| From: | Jason Wong | Date: | Thu, 24 Jan 2002 10:15:05 +0000 |
| Subject: | Re: Error whith printer_list() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81848@lists.php.net to get a copy of this message | ||
On Thursday 24 January 2002 17:57, Mårten Andersson wrote:
> var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
>
> When I try to run this the following errormessage occurs:
> Fatal error: Call to undefined function: infophp() in D:\Program
> Files\Apache Group\Apache\htdocs/index.php on line 61
>
> Undefined function? What does that mean?
It means PHP doesn't know about that function, ie its not a built-in function
and you haven't defined it.
I don't know what you're trying to do but maybe you mean to use phpinfo() as
opposed to infophp()?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Computers are useless. They can only give you answers.
-- Pablo Picasso
*/