Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Not able to connect Oracle through PHP

533006May 30 2007 — edited Jun 13 2007
Hello All ,

I am trying to connect Oracle DB through PHP script . But I am not able to do so .

My code is :

<?php

echo "PRASHANT" ;

include 'include/odb.php';
include 'include/ReadConfig.php';
$conn=OrclConnect('orcl');
$conn->SetFetchMode(ADODB_FETCH_BOTH);

echo "DWIVEDI" ;

?>

But when I ran this script throgh command prpmpt , I am getting the first echo message .. But not the last one ( echo "Dwivedi") .

I am not able to connect Oracle DB through this script .

Please some one help me out where I am wrong with script .

Thanks

Prashant Dwivedi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2007
Added on May 30 2007
8 comments
3,877 views