RE: [PHP-PEAR] Installing PEAR

From: Date: Thu, 25 Jan 2001 16:41:29 +0000
Subject: RE: [PHP-PEAR] Installing PEAR
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-1166@lists.php.net to get a copy of this message
I've just started switching to PEAR's DB layer and noticed that if you use something like: $db = DB::connect( "mysql://$dbuser:$dbpass@$dbhost/$dbname" ); then this will fail when $dbpass contains an "@" character, as it does in one case for me. I assume it will also fail if there is a ":" or "@" in the user or pass. Is there a way around this? -- Colin Viebrock Co-Founder, easyDNS Technologies http://www.easyDNS.com/

« previous php.pear (#1166) next »