Sure is legal. I use it all /over/ the place.

Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs


-----Original Message-----
From: Gary [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 14, 2002 2:26 PM
To: [EMAIL PROTECTED]
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
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to