PEAR_Info obtains and displays information about your current PEAR Install. The PEAR_Info page features an A-Z index for easy searching, aswell as anchors for each package in the form of pkg_Package_Name (i.e. url.tld/pearinfo.php#pkg_PEAR_Info) PEAR_Info also features a full 'PEAR Credits' page, with information about the authors of the packages you currently have installed. PEAR_Info will also display any later versions that are available from PEAR to help keep you up to date.
<?php require_once 'PEAR/Info.php'; /* If you need to set a http_proxy value at run-time you can use the following, this must be called BEFORE instantiating the PEAR_Info object */ PEAR_Info::setProxy('your.proxy.here'); /* Optional pear_dir variable, allows you to choose where your PEAR install is, in case its not found */ $pear_dir = "/path/to/your/pear/files"; /* Instantiate PEAR_Info object */ $info = new PEAR_Info($pear_dir); /* Show PEAR_Info output */ $info->show(); ?>
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?