Anand
Anand

Reputation: 53

Where are the username and password stored in a PHP program when you are using HTTP authentication?

Where are the username and password stored in a PHP program when you are using HTTP authentication?

Upvotes: 0

Views: 572

Answers (1)

$_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

Source: https://secure.php.net/manual/en/features.http-auth.php

Upvotes: 1

Related Questions