|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
cacheing or naming a dynamic image
I have a php script (testimage.php)which dynamically creates a png image. It is called by
<?php ... ... echo <<<HTML_STUFF ... <img src = "testimage.php" border = 0 height = $GraphH width = $GraphW alt = "$_GRAPH"> ... ... HTML STUFF; I call this to get a different image each time, each time reloading the parent php script. The test image.php script does the socket stuff, creates the png image and sends it back. It works fine, but I want to be able to use the (MSIE 5) browser back button to display the previous pages, but as each image is called testimage.php, I get the previous page, but with the last of the images instead of the previous image. Please, what to do? |
|
#2
|
|||
|
|||
Hi,I dont actually think you can do this. Maybe if you added some query string to the end e.g. Quote:
I hope this works as i am a newbie to php. Tom PS: use the DATE() function in php(PHP - [Date Function] ) |
|
#3
|
|||
|
|||
|
Thanks for that, Actually, that is what I eventually tried myself and it works fine. I have enough bits of information to uniquely identify the picture, and it works like a charm.
Thanks for the reply anyway! NCAnnie |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > cacheing or naming a dynamic image |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|