[PHP] Php Error Output Redirection

2006-12-18 Thread Sancar Saran
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

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Saqib Ali
Use the set_error_handle function: http://us2.php.net/manual/en/function.set-error-handler.php saqib http://www.full-disk-encryption.net On 12/18/06, Sancar Saran [EMAIL PROTECTED] wrote: Hi, Is anyone know that errors generated by php (like Notice: Uninitialized string offset: 0 in ...) may

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Jochem Maas
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

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Sancar Saran
On Monday 18 December 2006 15:39, Jochem Maas wrote: 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

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Robert Cummings
On Mon, 2006-12-18 at 20:55 +0200, Sancar Saran wrote: Oh really? so where is my spy-adware windows trojan prize ? Thank you Jochem, asking you always easy than the searching documentation and I always wonder what can I do without you and your great comments :). I promise, next time