Re: problems connecting to remote oracle database

From: Date: Mon, 02 Jul 2001 15:15:11 +0000
Subject: Re: problems connecting to remote oracle database
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-10025@lists.php.net to get a copy of this message
On Mon, Jul 02, 2001 at 10:53:55AM -0400, Anthony Carlos wrote: > Phil, > > Perhaps I'm being nit-picky, but shouldn't it be OCILogon("$user", > "$PASSWORD", "$connect_string"); ? I have tried both $user="realuser"; $password="actualpassword"; $dbname="oraclename" ocilogon($user,$password,$dbname); AND simply calling ocilogon "hardcoded", with the actual values directly in the quotes. both give the same error. > > From: phil@bolthole.com > > Date: Sat, 30 Jun 2001 09:39:11 -0700 > > To: php-db@lists.php.net > > Subject: [PHP-DB] problems connecting to remote oracle database > > > > Hi folks, > > ... I can use "sqlplus user/name@shorthostname" to connect just fine, as > > a regular user..... > > But when I try > > ocilogin("user","name","shorthostname"); > > > > on a php page, I get a printout of oracle error 01017: authentication > > failed.

« previous php.db (#10025) next »