Hey! A software which I am working on is going to have a password protection function. The software uses these variables to access pages: $_GET['app'] $_GET['m'] $_GET['a'] $_GET['id'] I want to make it so that the administrator can enter values for each of these variables and if what they entered matches the current variables (if they enter nothing for a variable, it is not looked at), then it forces the viewer to enter a password. How can I check to see if this condition is met? I store them in a database that look like this: - key - password - app - m - a - id
Store everything from the database into a array, then you gonna need to use a session which will save the information if they have entered it. This is something your going to have to think about for a while. Add me to one of the IM clients in my sig if you need any help. Thanks, Glen