PDA

View Full Version : Simple bit of PHP - HELP!


theollie
10-07-2007, 05:23 PM
Hi,

I have a site for use by some freinds, its basically a privacy proxy,but I want it to be password protected and have to get them to agree to terms and conditions.

I have an index.php page in a subdomain, that has a short list of terms and conditions. I want them to have to check a box to say they agree & then also enter just a password to continue. It doesn't need to be secure. The password can be one for all.

It would be good if it was all contained in the one Index file. Then when both the tick box and checkbox is checked it takes you onto a difficult domain that can't be remembered. Does that make sense?

It would be good if a pop up said that you need to agree to the terms if the check box is not checked and a different message is a password is not entered or is incorrect.

So the user would go to the site.

Scroll down

Check the box

Enter the one word password

Click Continue.

If all correct continues to a domain name.

I'm sure it must be simple - please can someone help me out with this or point me in a direction.

Thanks, Ollie

rfresh
10-07-2007, 06:40 PM
Are you saying you already have the index.php page and it's just not working correctly? or are you saying you need to create it and need someone to help you do that?

theollie
10-07-2007, 06:43 PM
The second. I have the files, and have been trying but really have no idea how to do it. So from scratch. Some help would be really appreciated.

Thanks
Ollie