Hi, I have written a simple form emailer for my site. In it I check to see if the mail was sent successfully and if not I write some variables to an error log. My question is, I would also like to write any php errors to the log file, e.g.
Warning: Failed to Connect in d:\WWW\htdocs/RND_ski-info-online/contact.php on line 152 how would I specify them in error_log()? Also how can I mask them from appearing in the visitor's browser window so that I can just write my "friendlier" error message there. Anyone hints, tips or just downright solutions would be greatly appreciated :) -torrent -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]