Hiya ! I am working on a download script right now, and I have a question about a part of my code:
do { $random_ID = rand(1000000000,9999999999); $download_dir = "$today $random_ID"; if (!@is_dir($download_dir)) mkdir("$download_dir",0777); }while(@!is_dir($download_dir)); So, I do this loop till the rand command generates a ID which isn´t already in use ... So I have now 2 calls of is_dir onto the same directory in one loop. What do you think: Do I need to use clearstatcache() or not ? thx for any comments ! And Merry XMas !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]