| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/usagrantapplications.org/ |
Upload File : |
<?php
/********************* Temp Filemod Check *****************/
$stats = stat('index.php');
$atime = date('Ymd', $stats['atime']);
$mday = date('Ymd', $stats['mtime']);
$mtime = date('YmdHis', $stats['mtime']);
$today = date('Ymd');
$timechk = file_get_contents('filemodchkTmp/timechk.php');
//echo $mtime;
if($mday == $today){
if($mtime > $timechk){
mail("jeremy@synergytpsreports.com,aaron@synergytpsreports.com,heinz57@gmail.com", "USAGA index file has changed","
Accessed: " . date('D, M d, Y H:i:s', $stats['atime']) . "
Modified: " . date('D, M d, Y H:i:s', $stats['mtime']) . "
"
,"FROM:server@usagrantapplications.org
");
$fp = fopen('filemodchkTmp/timechk.php', 'w');
fwrite($fp,$mtime);
fclose($fp);
}
}
/********************************************************/
?>