RE: [PHP-DB] logining into a remote Oracle 8.1.7 server

From: Date: Thu, 26 Oct 2000 07:50:48 +0000
Subject: RE: [PHP-DB] logining into a remote Oracle 8.1.7 server
Groups: php.db 
Request: Send a blank email to php-db+get-3926@lists.php.net to get a copy of this message
don't forget the TWOTASK variable.... can't remember the settings aha putenv($TWO_TASK="website"); where website is our databse name then we login OCIPLogon("User","Password","Database"); (Plogon is a persistent logon) Tim parkin (commonly know as Mr arggh @£*! can't use session handler cuz session_write don't work) -----Original Message----- From: John Hockaday [mailto:johnh@erin.gov.au] Sent: Wednesday, October 25, 2000 05:48 To: php-db@lists.php.net Subject: [PHP-DB] logining into a remote Oracle 8.1.7 server Hi, I have just recently compiled PHP 4.0.2 with Oracle 8.1.7 using Aache 1.3.12 on a solaris 2.6 UNIX machine. I have oraclient software on our web server and our database on another machine. I have looked at the documentation on making a conection to an Oracle database but the parameters for OCILogon, OCIPLogon and OCINLogon don't accept the machine name that holds the database Ie. $c1 = ocilogon("user","password", "instance"); Can someone give me an example of how to connect to a remote database using PHP and oracle 8i? Johnh -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#3926) next »