Re: ODBC connection to AS400

From: Date: Mon, 23 Feb 2004 09:02:06 +0000
Subject: Re: ODBC connection to AS400
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10864@lists.php.net to get a copy of this message
> Hi Guys: > > Can anyone help me with a sample connection string for PEAR to an > AS400 using ODBC? > Here it is (at least it works for me): $dsn = 'odbc://'.$user.':'.$pass.'@'.$host.'/'.$db_name $user: (obviously) the user, $pass: password, $host: the name of your AS400, $db_name: the name of the DB which you want to connect. See you.

« previous php.pear.general (#10864) next »