topical media & game development
professional-php-11-logmessage.php / php
<?php
function logMessage(LOGDIR = '/www/mysite/logs/'; //chmod 744 and chown nobody
LOGDIR . 'mysite.log';
logFile, 'a+'); //open for appending, create
//the file if it doesn't exist
if(! is_resource(logFile);
return false;
}
fwrite(message);
fclose(
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.