I get an issue with the scandir() function in PHP.
In my script i employ an scandir() function, which scans a file, these file was generate by php and the files in there was generated by an upload script. move().
When I scan this file, I get not always spent all existing files.
Sometines they are not complete, but sometimes even.
$file = "upload/server/php/files/" . $id."/";
$handle = opendir($file);
$allfiles = scandir($file);
print_r($allfiles); // These Variable isn't complete with all dirs and files