From: Amruta J. <am...@st...> - 2006-01-23 02:56:37
|
Hi, I'm trying to set up RAD StudyAnnotator using OCI. I'm facing a similar problem as Juan faced earlier. When I try to run user_registration.php from the web-browser, I get a blank page I get no warning messages. In fact the function ora_logon itself fails and does not return. I just added 2 print statements before and after the ora_logon call in include.php dbConnectionSetup function. The first print is output, but not the second. Any idea where I might have messed up? Regards, Amruta print "Trying:dbConnectionSetup"; $connHandle = ora_logon(DB_USER . "@" . DB_NAME, DB_PASS); print "dbConnectionSetup:ora_logon returned ".$connHandle; // check if connect was successful if ($connHandle <= 0) { Header( "WWW-authenticate: basic realm=\"Oracle Realm\""); Header( "HTTP/1.0 401 Unauthorized"); printf( "Could not log into the DB.<br>"); exit; } } |