What is the best way to create a PHP login page?

后端 未结 4 1451
自闭症患者
自闭症患者 2021-02-09 08:06

I\'m fairly new to PHP and am looking for some best practices on how to implement authentication in PHP.

I\'m an evangelist for Adobe and one of the things that annoys

4条回答
  •  轮回少年
    2021-02-09 08:35

    That's a fairly broad topic. However, a good understanding of sessions/cookies would be a good base. You should take a look at Chris Shiflett's blog - he has a lot of good posts about these topics.

    I'm an evangelist for Adobe and one of the things that annoys me is when people use Flex/Flash for the login screen. So I want to do a blog post/example on using an HTML/PHP login page and then passing the session information to Flex -after- the session has been set.

    I'm not entirely sure on your goal here. Do you need the Flash component to authenticate the user? Since this is a client-side technology, such an authentication would have limited scope.

提交回复
热议问题