Search found 1 match
- Sat Nov 16, 2002 10:09 pm
- Forum: PHP - Code
- Topic: User Authentication With Global variables Off
- Replies: 1
- Views: 319
User Authentication With Global variables Off
Hello all, I need help in setting up a Database-Driven Authentication using if (!isset($PHP_AUTH_USER)) { header('WWW-Authenticate: Basic realm="My Private Stuff"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authorization Required.'; exit; } else { $connection = mysql_connect("localh...