Re: Problem with db of pear

From: Date: Fri, 02 Nov 2007 12:09:28 +0000
Subject: Re: Problem with db of pear
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48394@lists.php.net to get a copy of this message
can you please post your whole script and the exact error message you get ? regards, iGor. On 11/2/07, Danilo <incredible82@gmail.com> wrote: > yes: require_once('DB.php'); > but don't work > > Igor Feghali ha scritto: > > did you included DB.php in you PHP script ? > > > > On 11/2/07, Danilo <incredible82@gmail.com> wrote: > > > >> i have install packgae db of pear > >> http://pear.php.net/package/DB > >> After downlad, upload into my web space. > >> But in file php pear are not know: > >> $dsn = "$dbms://$user:$pass@$host/$db_name"; > >> $db = DB::Connect($dsn,true); > >> if( DB::isError($db) ) { > >> die($db->getMessage()); > >> echo 'errore'; > >> exit; > >> } > >> > >> Crash in the row $db = DB::Connect($dsn,true); > >> Why?Which can are the problems?if possible of permise? > >> Thanks > >> > >> -- > >> PEAR Development Mailing List (http://pear.php.net/) > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > >> > > > > >

« previous php.pear.dev (#48394) next »