problem having one PHP page with a login form act as a gatekeeper to a second PHP page
I have a page that should only be accessed when a client enters a password. Can I do that in a single page?
Right now I am using a page with a single login field in a form, with the form Action set to the page that should be password protected (REMOTE). I then created a rule for the page to be protected REMOTE.PHP that restricts access (see image attached).
How can I make this work?