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: [EMAIL PROTECTED]
> > Date: Sat, 30 Jun 2001 09:39:11 -0700
> > To: [EMAIL PROTECTED]
> > 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. 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to