Re: ODBC connection to AS400

From: Date: Mon, 23 Feb 2004 10:48:05 +0000
Subject: Re: ODBC connection to AS400
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10867@lists.php.net to get a copy of this message
Thanks for that. I'll give it a shot. Roger Sergio Galassi said: >> 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. > > **************************************************** Roger Hill 07739 707 180 ****************************************************

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