tags:

views:

38

answers:

2

I have some PHP scripts that are accessed by external non human sources. Normally when a human accesses a page they will get the html error responses when an error occurs. Is it possible to log these errors into a file that a person can look at later?

+1  A: 

You could implement your own error handler to do it for you... This comment may also be applicable...

ircmaxell
+1  A: 

If the errors get logged you could use ini_set("error_log", "file")

cristis