thx1138
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by thx1138
-
-
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
Check boxes as a combonation lock????
in PHP Coding Help
Posted
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