kvarnerexpress 0 Report post Posted July 24, 2005 I'd like to display a random image (it's a security image generated by PHP code with GD...), but I don't want people to be able to reload the page with the same image. In other words, if I proceed to another page, but than hit the "back" button, I don't want the same image. Possible? Share this post Link to post Share on other sites
palladin 0 Report post Posted July 24, 2005 Use SQL with $USER_IP = $_SERVER['REMOTE_ADDR'];Write to datatabase which IP see which images and show next in que. In this way you can write to database time() to delete entry. And user can start que from begining. Don't time to write full code, now. But if you wish i can write them.--------------------Practice is when evrything is work but no one know why.Theory is when work nothing but evry one know why.Programmers join Practice with Theory - nothing work and no one know why Share this post Link to post Share on other sites
snlildude87 0 Report post Posted July 24, 2005 Not sure. The browser might attempt to cache the image. You could try a tool called Captcha: https://www.google.com/search?q=captchaLemme know if it works or not. Share this post Link to post Share on other sites
beeseven 0 Report post Posted July 25, 2005 You could most likely do this with some no-cache headers. PHP.net's header page has some examples:http://forums.xisto.com/no_longer_exists/Scroll down until PHP scripts often generate dynamic content that must not be cached by the client browser Share this post Link to post Share on other sites