thx for your help !
Since I am the only one who works on the whole server, it´s all my stuff :)
Yeah, but the increasing of the random_ID is surely a good way ..
Will check on that !
thx again ! :))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Forgot a couple of double quotes and the mode for mkdir. Perfectionist, you
see... :-)
Bogdan
--
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 PRO
I do the same with is_file() in several scripts and it works just fine
without clearing the cache. Don't know about dirs but I can't see why it may
be different - should use the exact same functions internally.
On a side note, I'd rather recommend using a loop like
This way you have better cont
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(10,99);
$download_dir = "$today $random_ID";
if (!@is_dir($download_dir))
mkdir("$download_dir",0777);
}while(@!is_dir($download_dir));
So, I do this loo
4 matches
Mail list logo