Hi all,
Simple question, just can't seem to find the answer.
When doing an fopen() call....when it fails for any reason, how can I write the error to a text file (to keep an error log), instead of stdout??
btw...my environment is not "web" based, but rather a win2000 LAN intra-net, more like shell scripting work. so i'd like to capture the actual error msgs that appear if these scripts are run from a cmd prompt.
Thanks!
Writting fopen() errors to log file?
Moderator: General Moderators
Answered you on devshed. http://ca2.php.net/manual/en/ref.outcontrol.php