das ist schon so ok. ich habe das hier im forum abgeändert.
hier mal mein testscript:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17: | <?php
$folder = opendir('.');
while( $file = readdir($folder) )
{
if ( $file != "." && $file != ".." )
{
if ( is_file($file) )
{
if ( !touch( $DOCUMENT_ROOT.$file ) )
echo "Cant change date of file: <b>".$file."</b>";
}
}
}
?> |