Re: cvs: pearweb /public_html pkginfo.php

From: Date: Sun, 08 Jul 2001 14:58:15 +0000
Subject: Re: cvs: pearweb /public_html pkginfo.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-239@lists.php.net to get a copy of this message
not needed, auto-prepend pear-prepend.php instead. - Stig On Sun, 8 Jul 2001, Martin Jansen wrote: > 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", > > > > -- > PEAR CVS Mailing List (http://pear.php.net/) > To unsubscribe, e-mail: pear-cvs-unsubscribe@lists.php.net > For additional commands, e-mail: pear-cvs-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

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