Mega Code Archive

 
Categories / Php / Development
 

Write to system log

<?php    define_syslog_variables();    openlog("www.rntsoft.com", LOG_PID, LOG_USER);    syslog(LOG_WARNING,"www.rntsoft.com example warning.");    closelog(); ?>