Originally Posted by Fou-Lu
I don't see where PHP would be involved here at all. Since you're already requiring JS to be in use, just use JS' cookie capability to do this. There's no reason to let PHP become involved here at all.
Again, I'm not too familiar with either. Couldn't you use an "IF" statement and go and do something like If user has visited in the last two hours, show nothing.
And if a user has, show the script above?
That's basically the only knowledge I have of PHP haha.