Hello, I am working on a script where random images show up and people rate them. I am having one problem though. That is that the same images keep showing up! Does anyone know how to go about this? I was thinking maybe recording there IP address or something. Help! Thanks, Jason
What's the code you are using right now? You'll need to use something like RAND to select the image to display randomly.
I have a random php script that display images randomly when you refresh page. It doesn't have rate function nor record IP .
I agree with elias_sorensen you need cookie... so if image already choose it will save on user cookie after that array your image (before random your image) and unset your array with cookie and finally you can random your image array
can you post your random image code,because there are some tricks you can do to avoid same image showing twice in a row