ID:               27015
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cjbj at hotmail dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         Documentation problem
 Operating System: n/a
 PHP Version:      4.3.5RC1
-Assigned To:      
+Assigned To:      tony2001
 New Comment:

I'm rewriting OCI8 documentation ATM.
It will be done in about a week.
Thanks for noticing this.



Previous Comments:
------------------------------------------------------------------------

[2004-01-22 22:56:38] cjbj at hotmail dot com

Description:
------------
When OCILogon/OCIPLogon/OCINLogon fail, they return false.
This is currently not documented in:
http://www.php.net/manual/en/function.ocilogon.php
http://www.php.net/manual/en/function.ocinlogon.php
http://www.php.net/manual/en/function.ociplogon.php

A possible sentence to add to all three manual pages is:

  If connection is not successful, OCI[PN]Logon will fail and return
FALSE.



Reproduce code:
---------------
<?php

$con = OCILogon("myname", "notmypasswd", "mydb");
echo "Con is: ";
var_dump($con);

?>


Actual result:
--------------
Warning: ocilogon(): OCISessionBegin: ORA-01017: invalid
username/password; logon denied in c:\cj\php\cjbj\doc1.php on line 3
Con is: bool(false)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27015&edit=1

Reply via email to