Jump to content

Recommended Posts

How would i make it so that when they type in my site name mysite.com for it to bring them to my tos and not the actaull site? My tos is a page which i made for them to have to read through the rules and agree to them before they can enter the site.

 

Is that possible? or would i have to tell every one to go to mysite.com/tos?

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/89752-help/
Share on other sites

You can do it with cookies or session variables. When the person agrees to your terms, a session variable goes on their computer. Have each page check for the existence of the session variable, and if it doesn't exist, forward them to the TOS. If it does exist, let them see the page.

 

Depending on your reasoning behind having them agree to the TOS, you may want to record their ISP addresses in a database when they agree, to have proof for the future if you may need it.

Link to comment
https://forums.phpfreaks.com/topic/89752-help/#findComment-459936
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.