Quote:
Originally Posted by rowan
It's happened to me. ;) When you open a file for write it's first truncated, so if there's something else writing at that time, or the file system allows a truncate but not write when it's chock full, you'll end up with a 0 byte file. For a rotating buffer like this it's probably better to use a pointer and save that in a separate file - at least if that gets trashed then it just starts at 0 again...
|
As with anything when you write to the filesystem. You should be / your host should be monitoring disc space anyhow.
If you're out of space PHP will probaby grind itself to death when attempting to even run
