Re: ocilogon

From: Date: Tue, 30 Mar 2004 21:46:54 +0000
Subject: Re: ocilogon
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181864@lists.php.net to get a copy of this message
Adam Williams wrote:
Hi, what is the syntax for using ocilogon() to connect to a remote server? The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the database is zed.aleph0. Locally on zed I can do ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server I try ociogon("user","pw","zed.alpeh0@10.8.5.4") but it errors out with an oci_open_server error. I tried going to www.php.net/ocilogon but the page doesn't exist, so does anyone know how the proper connect line to connect to a remote server that runs oracle? Thanks!
PHP 5 functions for OCI: http://www.zend.com/manual/ref.oci8.php I haven't used OCI before, but perhaps the function you should try is oci_connect('user', 'pw', 'zed.alpeh0@10.8.5.4')

« previous php.general (#181864) next »