You can try to make your own implementation but there are a lot of security risks to worry about. Particularly things like SQL Injection. There are frameworks you can use to implement login pages that take care of the security for you. You just need to find the one that works best for you. Zend Framework is one example of a PHP compatible framework that does authentication.
I am new to web development. I want to develop the front page of my website through which users can enter their username and password and login to their accounts. How should I accomplish that?
2条回答 默认 最新
- 已采纳 dqs86517 2015-08-05 16:19点赞 评论 复制链接分享
- dongya4335 2015-08-05 16:33
Here is a decent starting point if you really want to write your own log-in/out routines..
All that is lacking on that page is the layout of the database.点赞 评论 复制链接分享