# Just how can I get the confirmed customer name under Apache making use of simple HTTP authentication and also PHP?

First, allow's get the security factors to consider off the beaten track. I'm making use of straightforward authentication under Apache for a one-off, inner usage just, non-internet linked lan, php internet application.

Just how can get I the HTTP confirmed customer name in PHP?

0
2019-05-06 22:02:39
Source Share
$username =$_SERVER['PHP_AUTH_USER'];
$password =$_SERVER['PHP_AUTH_PW'];