Posted by Rik on 07/27/06 12:59
nesster13@yahoo.com wrote:
> I have installed Apache and PHP 5 on my machine.
> I have use Smarty and Pear to help me with the general template of my
> page. I was able to have a page loaded onto the my browser with not
> error but when I intentionally create an error on the page a blank
> page load with nothing on it. Does anybody know how to make the error
> come out.
<?php
ini_set(display_errors,1);
error_reporting(E_ALL);
?>
> The code want to use to generate the error
>
> require_once 'inexistent_file.php';
>
> and since I dont have a file name inexistent_file.php an error should
> be generated.
Not just an error, a Fatal error that will halt the script. No further
processing.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|