All pastes #131109 Raw Edit

Sami

public text v1 · immutable
#131109 ·published 2006-08-14 10:14 UTC
rendered paste body
<?php
$path='./';
if (is_dir("$path") )
       {
           $handle=opendir($path);
           while (false!==($file = readdir($handle))) {
               if ($file != "." && $file != "..") { 
                   $Diff = (time() - filectime("$path/$file"))/60/60/24;
                   if ($Diff < 2) echo("$file");

               }
	       
           }
           closedir($handle);
       }
       
       ?>