Ok, i'm trying to create a lot of files, one at a time - it all works without problem until the 950th or so file, where I get PHP errors about 'too many files open'.
Thing is, i'm closing each immeadiatly after writing too it, so I don't know where it's all becoming unstuck - here's the file-writing code, anyway:
if ($fp=fopen($destination.$this->entry[$entryNum][filename],"w"))
{
fputs($fp,$this->entry[$entryNum][fileData], strlen($this->entry[$entryNum][fileData]));
fclose($fp);
}
AFAIK, that should work, shouldn't it?
Anybody, got any ideas? Vincent?