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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php