RE: [PHP] PEAR DB class
| From: | Matthew Walker | Date: | Thu, 14 Feb 2002 21:47:34 +0000 |
| Subject: | RE: [PHP] PEAR DB class | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84827@lists.php.net to get a copy of this message | ||
Sure is legal. I use it all /over/ the place.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-----Original Message-----
From: Gary [mailto:garyb10@earthlink.net]
Sent: Thursday, February 14, 2002 2:26 PM
To: php-general@lists.php.net
Subject: [PHP] PEAR DB class
Hi all,
Before I get started and have to figure out a problem. Is it legal in
PEAR DB to connect like this
$dbh = DB::connect("mysql://$user:$pass@$host/$dname); where user,
password, host and database names are coming from an include?
TIA
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 / Virus Database: 180 - Release Date: 2/8/2002