#! /usr/local/bin/php \n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; $machine = $HTTP_POST_VARS["machine"]; print "$machine\n"; $date = $HTTP_POST_VARS["date"]; print "$date\n"; /* INSERT PATH TO YOUR LOGFILE !!! */ readfile("/var/log/yule/yule.log"); /* INSERT PATH TO YOUR PID FILE !!! * The final is only written when the * daemon exits, threfore we need to supply it here. */ if (TRUE == file_exists("/var/run/yule.pid")) { echo "\n"; fi echo "\n"; ?>