|
Posted by bill on 10/10/07 14:36
bill wrote:
> I just started a new project on a new virtual server.
> If I write a small script, it executes fine.
>
> If there is an error in the small script, I get no output at all, but
> the browser shows "done."
>
> here is the small script:
> <?php
> session_start();
> $debug=1;
> if ($debug) {
> error_reporting(E_ALL);
> echo "<br />SESSION:<br />";
> print_r($_SESSION);
> echo "<br />POST:<br />";
> print_r($_POST);
> echo "<br />";
> }
> echo " duh";
> echo "double duh";
> ?>
>
> If I remove the semicolon after echo " duh"; to generate a syntax error,
> I get no output at all. no error is reported in the browser.
>
> Any ideas ?
>
> bill
I forgot to mention that this is a new php5 installation on a
remote host. But the same thing happens when I request it be
executed as php4 (by changing the extension to php4).
bill
Navigation:
[Reply to this message]
|