On the other hand if you want to keep track of the number of files generated
you might want to try something like this:
$i=1;
$thePath=$temp_dir."/$fileprefix";
while (file_exists($thePath.$i))
{
$i++;
}
$thePath.=$i;
($thePath stores a valid temp fil
Hi!
You may want to check out the tempnam() function -- it's under filesystem
functions in the downloadable documentation.
Bogdan
> hallo,
>
> my applications generates a html-page, with a link to an image.
> this image is created by the application, and should exist only temporarily
> - so it
hallo,
my applications generates a html-page, with a link to an image.
this image is created by the application, and should exist only temporarily
- so it can be deleted after being accessed by the html-page - any ideas how
to implement this? is working with timetamps (microseconds) safe for crea
3 matches
Mail list logo