I think my problem here is that I have an incorrect path to Oracle or that somehow it can't navigate using this path from where I am, but I though I would ask to see if anyone notices any syntax errors.
My code (at bottom of message) was copy/pasted from a tutorial at phpworld. I'll just give you a snippet because it doesn't get past the second command.
My error is:
Fatal error: Call to unsupported or undefined function ora_login()
I'm guessing that ora_login() is undefined because it can't find oracle from my faulty path. What do you think? Any other ideas?
*************** CODE *****************
<?php
PutEnv("ORACLE_SID=/u01/app/oracle/product/8.1.5");
$connection = Ora_Logon ("username", "password");
if ($connection == false){
echo Ora_ErrorCode($connection).": ".Ora_Error($connection)."<BR>";
exit;
}
?>