ID: 34048 Updated by: [EMAIL PROTECTED] Reported By: swingcoder at msn dot com -Status: Feedback +Status: Wont fix -Bug Type: OCI8 related +Bug Type: Oracle related Operating System: Red Hat Enterprise Linux AS rele PHP Version: 5.0.4 New Comment:
ora_* functions are deprecated. Use oci8* instead. Previous Comments: ------------------------------------------------------------------------ [2005-08-09 13:12:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip And instead of using --with-oracle, use --with-oci8 ------------------------------------------------------------------------ [2005-08-09 13:06:43] swingcoder at msn dot com Description: ------------ ora_bind can not use $this-> reference in a class. only support local variable. Haven't you get a volonteer now yet?it is really a bug,if you not work for ora_* functions,then why not delete all of it!! Reproduce code: --------------- ora_parse($this->CURSOR, $sql) or die($this->ERROR($this->ORACLE_FLAG)); ora_bind($this->CURSOR,"output",":out",5, 2); ora_exec($this->CURSOR) or die($this->ERROR($this->ORACLE_FLAG)); $this->output = $output; Expected result: ---------------- [client 192.168.100.227] PHP Fatal error: ora_bind() [<a href='function.ora-bind'>function.ora-bind</a>]: Could not make parameter placeholder in /usr/local/apache/htdocs/lib/class.db.php on line 130, referer: http://192.168.100.42/admin/index.php Actual result: -------------- $this->output should get the correct value. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34048&edit=1
