Databse Access Problem...

From: Date: Fri, 05 Apr 2002 05:04:14 +0000
Subject: Databse Access Problem...
Groups: php.db 
Request: Send a blank email to php-db+get-18234@lists.php.net to get a copy of this message
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

« previous php.db (#18234) next »