Re: [PHP3] PHP & Oracle

From: Date: Mon, 15 May 2000 12:58:09 +0000
Subject: Re: [PHP3] PHP & Oracle
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61@lists.php.net to get a copy of this message
Dieter Kneffel wrote: > What is the best way to access Oracle8 using > PHP with the database on a different server than the > webserver? Do I have to use some odbc or can I > connect to it no matter if local or remote just as with > mysql ? > > - Dieter If you have 8i you can access it with the OCI functions ( 8i functions under www.php.net/manual ). I access it like that: $conn = OCILogon("username", "pass", "remote_db"); If you don't have 8i installed then use $conn = Ora_logon("username@remote_db", "pass"); Hope that helps a little, -- AnD.

« previous php.general (#61) next »