cvs: pearweb /public_html pkginfo.php

From: Date: Sun, 08 Jul 2001 14:39:10 +0000
Subject: cvs: pearweb /public_html pkginfo.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-237@lists.php.net to get a copy of this message
mj Sun Jul 8 10:39:10 2001 EDT Modified files: /pearweb/public_html pkginfo.php Log: * Added object to PEAR::DB Index: pearweb/public_html/pkginfo.php diff -u pearweb/public_html/pkginfo.php:1.1 pearweb/public_html/pkginfo.php:1.2 --- pearweb/public_html/pkginfo.php:1.1 Sun Apr 15 19:19:26 2001 +++ pearweb/public_html/pkginfo.php Sun Jul 8 10:39:10 2001 @@ -1,6 +1,11 @@ <?php -response_header("PEAR :: Package :: $package"); +response_header("Package :: $package"); + +$dbh = DB::Connect("mysql://pear:pear@localhost/pear"); +if (DB::isError($dbh)) { + die("DB::Factory failed: ".DB::errorMessage($dbh)."<BR>\n"); +} $descriptions = array( "name" => "Package Name",

« previous php.pear.cvs (#237) next »