P
Patrick Tingen
Guest
An easy workaround is to generate a unique filename for your html file. This way it does not matter whether an old file exist and - as a bonus - allows for multiple users generating the same file at the same time. But beware of the folder becoming full if you do not clean up the files. I had this once on a server where I generated random file names, consisting of 6 numbers. After about a year, the process of generating a new file became slow, because it took a random number, checked whether that number was already in use and then generated the file. But after a year, almost all numbers were used, resulting in long generation time for a new file and a VERY full folder.
Continue reading...
Continue reading...