HTTP Authentication with PHP
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
精彩评论