Hi,
I'm
configuring a server (windows 2003 Entrepise Edition) with PHP
and Oracle9i.2, I've done everthing as the manuals and everthing over the net
that i could found :
1. I've
Installed Oracle
2. I've
installed PHP 4.3.4 manually
3. Changed
PHP.INI :
3.1 Extensions dir : "C:\\php\\extensions"
3.2 Uncommented "extension=php_oci8.dll"
3.3 Changed CGI.FORCE-REDIRECT = OFF
Now it's all running
and doesn't give any errors, but if i try to use a conection to Oracle to
verify the user i receive this error:
"Fatal error: Call to undefined function: ocilogon() in
c:\FCUL\index.php on line
35"
this is the
code:
34: //connect
to the database
35:
if ($conn =
OCILogon("scott", "tiger", "fcul"))
36:
{
37:
37:
38:
39:
// Select Data...
40: if ($s = OCIParse($conn,"SELECT name, password FROM Student WHERE nstudent = '$user' and password = '$pass' "))
41: {
42: if (OCIExecute($s,OCI_DEFAULT))
43: {...
40: if ($s = OCIParse($conn,"SELECT name, password FROM Student WHERE nstudent = '$user' and password = '$pass' "))
41: {
42: if (OCIExecute($s,OCI_DEFAULT))
43: {...
my question is
:
Do i need to
configure Oracle path in php.ini or make any change to
oracle
I have installed
Oracle 9i.2 Server -> Installation Entrepise + Client
tools
If you could help me
i would be very grateful because this is for a project in mine university and i
can't put it to work at my home!!!
One more thing when
i execute phpinfo(); nothing related to OCI or Oracle
appears!
Look forward to
hearing from you,
| ||||||||||||||
|