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","[EMAIL PROTECTED]") 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!

You may want to use something like this as your DB string: (DESCRIPTION= (ADDRESS_LIST= (ADDRESS = (COMMUNITY = tcp_comm.world) (PROTOCOL = TCP) (Host = 10.8.5.4) (Port = 1521) ) ) (CONNECT_DATA = (SID = zed.alpeh0) (GLOBAL_NAME = zed.alpeh0.world) ) )

--
paperCrane <Justin Patrin>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to