Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Restrict Page

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.