Premature end of script headers
509391Apr 27 2006 — edited Apr 27 2006Hello,
I have problems with the getting table from oracle XE while running php cript.
My php-script for PHP 5.1.2 is
<?php
$conn = OCILogon('hr', 'hr');
if (!$conn)
{
echo("error");
}
else
{
echo("connect is ok");
$query = 'select table_name from user_tables;';
$stid = OCIParse($conn, $query);
OCILogoff($conn);
}
?>
The connection to Oracle Database 10g Express Edition is Ok.
But after that, this message is displaying from Apache 1.3 error.log:
[Thu Apr 27 15:42:17 2006] [error] [client 127.0.0.1] Premature end of script headers: d:/php512/php.exe.
What happend and what can I do?
Thanks, Sergey