Load a page within a page

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
xQuasar
Forum Newbie
Posts: 19
Joined: Tue Dec 02, 2008 5:53 pm

Load a page within a page

Post 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?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Load a page within a page

Post 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.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Load a page within a page

Post 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.
Post Reply