PHP Error Recording
Posted by: kimberly
Posted on: 2007-05-26 12:59:00
Let me start by saying that I am both new to DH and new to PHP. So far, I have figured out how to hook PHP to MySQL, built my PHP pages, and created a manual log by piping my form data to it before inserting in database.
But, what I want to know is how to have any PHP or mysql errors go to a log file instead of the user, and have the error redirect to a nicer page on my site. Does that make sense? Any advice will be appreciated. My old host had an entire section that you could go to to see server errors like when debugging perl, but I haven't found the same here on DH.