Re: PHP Speech
| From: | Daniel Brown | Date: | Wed, 16 Apr 2008 14:10:55 +0000 |
| Subject: | Re: PHP Speech | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273058@lists.php.net to get a copy of this message | ||
On Wed, Apr 16, 2008 at 9:59 AM, Andrew Ballard <aballard@gmail.com> 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!