2015-08-05 16:13 阅读 80

如何使用html,css,javascript和php&mysql作为后端为网站创建登录页面? [关闭]

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 dqs86517 2015-08-05 16:19

    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.

    点赞 评论 复制链接分享
  • dongya4335 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.

    点赞 评论 复制链接分享