function logCmd ($user, $command) { global $CONFIG; $file = $CONFIG['cacheFile']; $fp = fopen ($CONFIG['filedir']. $file, 'w') || die ('ERROR: Could not read file: '. $CONFIG['filedir']. $file); $write = time(). ':|:'. $user. ':|:'. $command; fclose ($fp); //LINE 43 }