Im trying to create a simple login form and a page with a page restriction
我试图创建一个简单的登录表单和一个页面限制的页面
I have created a mysql database and uploaded details of a user.
我创建了一个mysql数据库并上传了用户的详细信息。
I have created a login page: http://www.diydirector.com/loginform.php Which seemed to work fine. I then set it to direct to the restricted page after a successful login.
I then created a restricted page with access restrictions based on username and password : http://www.diydirector.com/restricted-page.php The page is set to direct back to the login page in the result of non access.