Jump to content

thx1138

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

thx1138's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. OK, I have tried to fiqure out a way to do this with radio buttons, no luck. Now I am setting it up with check boxes, I am not sure how to pass on two required variables in order to make the "lock" work. I can easily make one check box be required to gain access, however I cannot get two (Multiple) check boxes as in a combination to work? here is part of the code: Code: [code]<?php include("config.php"); $cookuser = $_COOKIE["cookuser"]; if($cookuser) {     if(($cookuser == $adminuser) or ($cookuser == $adminuser4)){     echo("<title>BLABLA</title> unlocked information then is displayed here...[/code] Basically all this does is make it so my 1st or 4th check box allows users access to the BLABLA information. How do I go about requiring BOTH 1st AND 4th being required? I have swithched the [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]or[!--colorc--][/span][!--/colorc--] to an [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]and[!--colorc--][/span][!--/colorc--] but that just lets either work....? Thanks for any guidance... I know I am missing something fairly basic because I am a worthless script kiddie! [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /] THX1138
  2. Hello all.. Looking for a way to have a session actually check the path or way a person has entered a particular webpage. [b]I am not a coder[/b], but someone told me I could use php "Session" to check to make sure a person was at page "A" before they entered Page "B".... For example if they are reading an online story they would have to go through it in order...and could not just type in the url of page 7 and start there. Any [b]samples or examples [/b]would be greatly appreciated THX1138
×
×
  • 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.