Pusta, Sounds like Oracle support hasn't been compiled into PHP.
Wayne Pusta wrote: >A little background information: > >Running PHP on Apache server bundled with Oracle Portal on Redhat Linux 7.1. >Trying to access the Oracle database from the web using PHP and when I write >the connect statement, I get this error: > >Fatal error: Call to undefined function: ocilogon() in >/home/students/uss/public_html/index.php on line 6 > > >Here is my code: > > > ><HTML> ><HEAD> ></HEAD> ><BODY> ><?php >$dbconnection = OCILogon("username", "password", "databasename"); >$sql = "SELECT GURMAIL_PIDM FROM GURMAIL_GENERAL"; >$parsedsql = OCIParse($dbconnection, $sql) > or die("Unable to Parse"); >OCIExecute($parsedsql) or die("Unable to execute"); >?> > > ></BODY> ></HTML> > > >Can anyone help?? Is my code wrong? Is the PHP server missing something? > >Pusta > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php