Re: Delete temporary images after loading website



On 30 Apr., 10:53, Martin Mandl - m2m tech support
<martin.ma...@xxxxxxxxx> wrote:
On Apr 30, 10:24 am, Andrea Scharfe <schm...@xxxxxxxxx> wrote:

I am writing a PHP script which generates some charts using gnuplot.
This generates quite a large number of temporary image files. My
problem is that I do not know how to delete these images after they
have been loaded and are already displayed at the website.
Everything I have tried so far resulted in that the images were not
displayed at all.

Dear Andrea,

why don't you delete the files the next time you call the script
before you create new temporary files?

Good luck
Martin

------------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnunghttp://www.ea-geier.at
------------------------------------------------
m2m server software gmbhhttp://www.m2m.at

Hi Martin,

thanks for your reply. The problem is, that the script is used for a
website which might be accessed by more than one person at the same
time. So it might happen that while one person is waiting for the
charts to be displayed, the next user accesses the website and deletes
the files the other one is waiting for.
Maybe I could include a check for timestamps and delete all files that
are older than 5 minutes or something...

Thank you!

Andrea

.



Relevant Pages

  • Re: Delete temporary images after loading website
    ... This generates quite a large number of temporary image files. ... Everything I have tried so far resulted in that the images were not ... online accounting on bash bases ... m2m server software gmbh ...
    (comp.lang.php)
  • Delete temporary images after loading website
    ... I am writing a PHP script which generates some charts using gnuplot. ... This generates quite a large number of temporary image files. ... Everything I have tried so far resulted in that the images were not ...
    (comp.lang.php)
  • for shelby: extremely exciting fast downloads - ep eggu abga - (1/1)
    ... Images, video, mp3 music, the real news from around the world... ... it's all inside waiting for you. ...
    (comp.software.patterns)
  • Re: attn. buzzy...red x....first draft....
    ... A number of people have complained that they cannot see the images ... who have suffered from this problem viewing your website!!! ... be recorded in server logs and used/manipulated by website-owners.] ... The referrer header tells the server from which page your request ...
    (uk.politics.misc)
  • Re: Cursor movement
    ... posted for you to look at and it's not a "real" website yet. ... lots of non breaking spaces and your images. ... Not sure how or where you are trying to drag and drop the images. ... the side of other picture instead of below. ...
    (microsoft.public.frontpage.client)