开发者

HTTP Authentication with PHP

开发者 https://www.devze.com 2023-02-04 15:31 出处:网络
I am creating sessions if the entered username matches the one stored in my data开发者_如何学JAVAbase by

I am creating sessions if the entered username matches the one stored in my data开发者_如何学JAVAbase by

$_SESSION['username'];

Now I recently learned about HTTP AUTHENTICATION with PHP using sessions to secure them.

How do I implement them?

Thanks.


Try this from the PHP manual:

http://php.net/manual/en/features.http-auth.php

0

精彩评论

暂无评论...
验证码 换一张
取 消