On Wed, Apr 16, 2008 at 9:59 AM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
>
>  In addition to the added time, aren't there any problems with race
>  conditions if two users try to create a file at the same time and each
>  user's script tries to clean the same files at the same time?

    With output error buffering (or 'rm -f {FILENAME}') there wouldn't
be.  If a tree falls in the woods and no one is there to hear it, it
doesn't make a sound at all.  Such is the same with error reporting:
if I'm not told an error occurred, then it didn't.  Ignorance is
bliss.  ;-P

    In reality, you're correct.  If the files have the same names, are
in the same location, and are set for removal at the same time, then
yes.

-- 
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to