Page 1 of 1

Load a page within a page

Posted: Sat Dec 20, 2008 2:28 pm
by xQuasar
This has nothing to do with PHP. Moved to Client Side forum by moderator.

I've seen it before on other sites, well maybe not exactly load a page within a page, but what I mean is when the user clicks a button, a certain page opens up for them, and then they have to click a button on THAT page. Once they do that, they get a reward for voting.

How do I make sure that they click the button on that page with php?

As well as that, is there a way to only allow the user use that feature once every set period of time? Like, if they attempt to access it more than once every 12 hours it shows up a message. I've thought of cookies, but is there a more secure way?

Re: Load a page within a page

Posted: Sat Dec 20, 2008 5:28 pm
by califdon
You will have to do a much better job of describing what you are talking about in order for anyone to understand you and try to help.

Re: Load a page within a page

Posted: Wed Dec 24, 2008 1:41 am
by JAB Creations
http://www.dynamicdrive.com/dynamicinde ... ontent.htm

As a second example you can see this implemented on my site here...
http://www.jabcreations.com/blog/?prompt=options-basic

When you click on any of the links (in the browser status bar you'll see a JavaScript function called "ajax" with two or three parameters) it loads a small file of XHTML code.