Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2011
    Location
    Saginaw MI
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Help With " Adult Warning Page "

    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

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    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


    .


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •