Re: [secure PHP] Error handling (again)
| From: | Curt Zirzow | Date: | Sun, 03 Aug 2003 20:37:12 +0000 |
| Subject: | Re: [secure PHP] Error handling (again) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158092@lists.php.net to get a copy of this message | ||
* Thus wrote thierry lhomme (thierry.lhomme@free.fr):
> Hi !
>
> I still have found no satisfying solution to my problem yet...
>
> At home, when an error occurs in an script I got something like this :
>
> Warning: unlink() failed (No such file or directory) in c:\program
> files\easyphp\www\php_scripts\index.php on line 356
>
> but my provider in the same case delivers this :
>
> Warning: unlink() failed (No such file or directory) in index.php on line
> 347
>
> ... and that's much better, don't you think ?!
>
> The question is : How do they do that ??
I don't think they are doing anything special, it might just be
system dependent.
You could create your custom error with:
http://php.net/set-error-handler
Curt
--
"I used to think I was indecisive, but now I'm not so sure."