PDA

View Full Version : Refresh



omgDAN!
24-10-2008, 09:55 PM
I remember someone here once had a page, and if you refreshed it 3 times the page changed...

For example:
Refresh Page 1, 3 times, and get Page 2.

I was wondering how this was done?

Thanks.

Moh
24-10-2008, 09:59 PM
You could use cookies which expire in 1 hour if not used.

So on page view, it adds 1 to the current cookie, if the number is 3+ then it will display a different page :)

Calon
24-10-2008, 10:04 PM
Refferer?

And it was Tom743.

iUnknown
24-10-2008, 10:45 PM
Log the IP to mysql database, if the row count of rows with the ip in is 3, it changes the page. Clears all rows with that IP on the time when it changes the page.

Johno
24-10-2008, 10:59 PM
Refferer?

And it was Tom743.

Actually, it was done first by Luckyrare AFAIK.

http://www.habboxforum.com/showpost.php?p=4245938&postcount=27
http://www.habboxforum.com/showthread.php?t=431371

Should help, a simple search brings that up :)

Want to hide these adverts? Register an account for free!