FAQ |
Kalender |
|
Ämnesverktyg | Visningsalternativ |
![]() |
#4 | |||
|
||||
Mycket flitig postare
|
Kod:
<?php $now = time(); $editLog = ''; $dir = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('.')); foreach($dir as $file => $obj) { if(!is_file($file)) continue; if ($now - filemtime($file) >= 3600 * 24) $editLog .= $file.'\n'; } if(strlen($editLog)) { mail("[email protected]", "Hacked lol", $editLog, 'From: [email protected]\r\nReply-To: [email protected]\r\nX-Mailer: PHP/'.phpversion()); } ?> |
|||
![]() |
![]() |
|
|