Re: Delete temporary images after loading website
- From: Tyno Gendo <you@localhost>
- Date: Mon, 30 Apr 2007 10:12:03 +0100
Andrea Scharfe wrote:
also tried writing a shell script with the same functionality hoping
that starting the shell script in the background (using &) would
terminate the php script before the images were deleted.
Didn't work either.
Does anyone have an idea? I do not want to use a cron job or something
to clean the temporary directory.
Are there any php only solutions to this problem?
Cheers!
Andrea
How about having the PHP script accept parameters on the query string, generate to your graph in an inline IMG tag eg.
<img src="gengraph?p1=100&p2=200 ..." />
PHP script generates img, returns it to the browser, then deletes the files.
Is the problem that you don't know what the temporary files are called or that they always have same name?
.
- Follow-Ups:
- Re: Delete temporary images after loading website
- From: Andrea Scharfe
- Re: Delete temporary images after loading website
- References:
- Delete temporary images after loading website
- From: Andrea Scharfe
- Delete temporary images after loading website
- Prev by Date: Re: Manipulating binary data
- Next by Date: Re: RegEx - Chk for special chars
- Previous by thread: Re: Delete temporary images after loading website
- Next by thread: Re: Delete temporary images after loading website
- Index(es):
Relevant Pages
|