Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

PHP - Debug Trace function

Tags: function

function ewTrace($msg) { $filename = "debug.txt"; if (!$handle = fopen($filename, 'a')) exit; if (is_writable($filename)) fwrite($handle, $msg . "\n"); fclose($handle);}Disclaimer: Any code or advice given is for instructional purposes only. We will not be responsible for any loss or damage caused by using this script.



This post first appeared on Smash Scripts, please read the originial post: here

Share the post

PHP - Debug Trace function

×

Subscribe to Smash Scripts

Get updates delivered right to your inbox!

Thank you for your subscription

×