Re: GIF generation
| From: | Rasmus Lerdorf | Date: | Mon, 31 Jul 2000 03:24:19 +0000 |
| Subject: | Re: GIF generation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9107@lists.php.net to get a copy of this message | ||
> I'm creating a graphical GIF on the fly using PHP3. The data is coming
> from a form that processes info and pulls the data from a MySQL
> database. The problem is that when I backup to the form after viewing
> the graph and change the data in the form and "submit"... the graph
> (GIF) that gets displayed is the previous data. I have to hit the Reload
> button in my browser to get the new graph.
>
> Does anyone know if there is there anyway to force a reload or reposting
> of form data in PHP3 or is this a browser problem??
The obvious way is to do something like:
<img src="script.php?<?echo uniqid()?>">
ie. stick a random script on the URL.
-Rasmus