Jump to content
php.lv forumi

demo list!


lazda144

Recommended Posts

tagad

 

Warning: filemtime() [function.filemtime]: stat failed for Resource id #2. in C:\wamp\www\dem.php on line 6

Warning: filemtime() [function.filemtime]: stat failed for Resource id #2.. in C:\wamp\www\dem.php on line 6

Warning: filemtime() [function.filemtime]: stat failed for Resource id #2boti-0612252303-fy_pool_day.dem in C:\wamp\www\dem.php on line 6

Warning: filemtime() [function.filemtime]: stat failed for Resource id #2web in C:\wamp\www\dem.php on line 6

<?php
$handle = opendir('C:\wamp\www\demo');
$today=date("Y-m-d");
while(false !== ($file = readdir($handle)))
{
 $created=filemtime($handle.$file);
 $filedate=date("Y-m-d h:i:s",$created);
 $filedate=explode(" ",$filedate);
 if($filedate[0]==$today){ echo "bla bla bla"; }
}
?>

Link to comment
Share on other sites

×
×
  • Create New...