1

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?

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.