Scared Posted June 14, 2008 Share Posted June 14, 2008 I'd like to make people have to accept the TOS page before entering any other page of the website. If this is possible, how can I do it? The TOS is on agreement.php and I have about 13 PHP pages including the index.php Quote Link to comment https://forums.phpfreaks.com/topic/110202-solved-make-people-accept-the-tos-page-before-they-can-access-any-part-of-the-site/ Share on other sites More sharing options...
.josh Posted June 14, 2008 Share Posted June 14, 2008 Make a little "I agree to the ToS" statement with a checkbox next to it for them to check and submit. On submit, make it a session variable to be checked on all page loads. Quote Link to comment https://forums.phpfreaks.com/topic/110202-solved-make-people-accept-the-tos-page-before-they-can-access-any-part-of-the-site/#findComment-565522 Share on other sites More sharing options...
Scared Posted June 14, 2008 Author Share Posted June 14, 2008 Well, I havn't learned much on PHP, do you know how I can set a variable like that? & the accept box is type 'yes' into the text box and click accept, which right now sends you to index.php but I'm going to change index.php to index2.php and have the agreement.php changed to index.php Quote Link to comment https://forums.phpfreaks.com/topic/110202-solved-make-people-accept-the-tos-page-before-they-can-access-any-part-of-the-site/#findComment-565526 Share on other sites More sharing options...
.josh Posted June 14, 2008 Share Posted June 14, 2008 http://us3.php.net/session Quote Link to comment https://forums.phpfreaks.com/topic/110202-solved-make-people-accept-the-tos-page-before-they-can-access-any-part-of-the-site/#findComment-565528 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.