hi,
I am trying to connect to oracle 9i using PHP. I am using ADODB for the same.
Versions:
Oracle 9i
PHP 4.3.4
ADODB 4.0.3
Window 2000 Professional
IIS 5
I have extracted the ADODB zip file on the C Drive.
The part of the code is as follows
<?php
include('C:\adodb\adodb.inc.php');
include('C:\adodb\tohtml.inc.php');
$db = ADONewConnection('oci8po');
$db->PConnect('','PHPUser','PHPUser','OracleServer');
?>
Following are the error messages that i am getting when i execute the page.
Notice: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS' in C:\adodb\adodb.inc.php on line 3197
Fatal error: Call to undefined function: ociplogon() in C:\adodb\drivers\adodb-oci8.inc.php on line 136
My oracle server is on the different machine.
I am able to connect to the server from my machine using SQLPLUS
Could somebody please help me ??
thanks and regards
Parag Joshi