Re: Php Error Output Redirection
| From: | Jochem Maas | Date: | Mon, 18 Dec 2006 13:39:28 +0000 |
| Subject: | Re: Php Error Output Redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245948@lists.php.net to get a copy of this message | ||
Sancar Saran wrote:
> Hi,
>
> Is anyone know that errors generated by php (like Notice: Uninitialized string
> offset: 0 in ...) may stored in a php variable and print out later ?
>
> I want to put them some other location and show them in a debug window. I do
> this for my error reporting and I could not manage how to do with php
> messages.
congratulations, you are the 1,000,000th php user not to bother
so much as think of looking in the manual:
http://php.net/manual/en/ref.errorfunc.php
http://php.net/manual/en/language.operators.errorcontrol.php
http://php.net/manual/en/function.error-reporting.php
http://php.net/manual/en/function.set-error-handler.php
http://php.net/manual/en/function.error-get-last.php
>
> Regards
>
> Sancar
>