I have one php script that is in a folder protected by another php script. Both have their own registration page and login page. In my scenario, if users can login to the first, I don't really need them to login to the second.
The username is the only common credential between the two user tables so is there a way to
"tell" the second script in protected folder that if user is logged into the first, then open that users account here?