Question
Restrict Access to Page (k)
I know just enough PHP to get myself in trouble.
I'm working on a simple employment section for one of my clients. All
PHP pages work, but now I am trying to make some of them password protected.
I have a table in mySQL with a username and password.
I have a form in a webpage with spaces to write the username and
password. I used the Login User server behavior through Dreamweaver. It
appears to work since the user jumps to the page I want them to instead
of the failure page.
The problem is that once on that page the user gets kicked off. That
page I used the Server Behavior "Restrict Access to Page". Instead of
seeing a valid login, it kicks the user to the page indicated in a
failed login.
Any ideas?
-Kirk
I'm working on a simple employment section for one of my clients. All
PHP pages work, but now I am trying to make some of them password protected.
I have a table in mySQL with a username and password.
I have a form in a webpage with spaces to write the username and
password. I used the Login User server behavior through Dreamweaver. It
appears to work since the user jumps to the page I want them to instead
of the failure page.
The problem is that once on that page the user gets kicked off. That
page I used the Server Behavior "Restrict Access to Page". Instead of
seeing a valid login, it kicks the user to the page indicated in a
failed login.
Any ideas?
-Kirk
