View Full Version : Help With " Adult Warning Page "

08-23-2011, 04:04 AM
I am designing an Adult Material Community Website. I want to have a Warning Page to let people Enter or Exit. But I am new to Php and need some help making this happen.

Does anyone know of a script that one can use for such a task?

Thank you

08-23-2011, 04:22 AM
If they click the "agree" button, you set a PHP SESSION variable.
On each page or script that you have, you test for that SESSION variable.
If it exists, then you know that the user has clicked the "agree" button on the first page.

Google: PHP SESSION tutorial