Erik Osterman wrote:
Consider using this
//
// STDERR logging function
//
function warn( $msg, $die = 0 )
{
$fp = fopen("php://stderr", 'w') or die("Failed to open STDERR");
fwrite($fp, "[".strftime("%Y-%m-%d %T")."] $msg\n")
or die("Failed to write to stderr");
fc
code) in $file on line $line '$code'");
print "";
}
// Set up the callback
assert_options (ASSERT_CALLBACK, 'assert_callback');
Regards,
Erik Osterman
http://osterman.com/
-Original Message-----
From: Robert Sossomon [mailto:[EMAIL PROTECTED]
I am seeing some errors with a program I wrote and I need to write
everything to a log file that the program is doing.
The following syntax I KNOW is wrong, but not sure they are important to
put here correctly yet.
//script addtocart
$Addcart (info1, info2)
Mysqlquey($addcart)
I am seeing random
3 matches
Mail list logo