OK I have this great little page made that hits each of our Active Directory ldap directories to see if a username and password match what was submitted. Now I have the task of replacing all my pages that are currently authenticating against a database.
The auth page basicly hits the ldap directory and sets a counter to 0 or 1, 1 allowing access 0 not allowing access. Which brings me to my questions.
1.
If I do an include(auth.php) can I pass variables around as if both pages where one? Or would I need a post or get method?
If I have to move a variable from one page to another, what is the most secure method? (hidden input using post?)