Re: PEAR_Info - undefined function getconfig()?
| From: | alain petignat | Date: | Mon, 12 May 2003 13:44:43 +0000 |
| Subject: | Re: PEAR_Info - undefined function getconfig()? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5325@lists.php.net to get a copy of this message | ||
Hi
i tried a while and now it is working with the following code:
<?php
include_once("PEAR/Info.php"); // or path absolute
$info = new PEAR_Info;
print $info->info;
?>
This may not be the proper way (?), but it generates the wanted page :)
hth
alain
---------- your code:
"My Code", you say this as if I had to do something. Heh.
require_once("PEAR/Info.php");
PEAR_Info::PEAR_Info("/path/to/pear");
PEAR_Info::show();