Posted by Jared Williams on 03/30/05 20:27
> JW> You cannot guarentee the filename you think doesn't exist with the
> JW> file_exists() doesn't exist when you eventually fopen() it,
> JW> otherwise.
>
> Using the original posters method, I agree. But there are
> plenty of ways around this without forcing a warning to occur
> (or having to suppress one), that avoids any sort of "race
> condition". It's just the way the OP is doing it is IMHO
> messy to begin with, but was obviously a solution born out of
> frustration.
If you think you have another method please elaborate.
Jared
[Back to original message]
|