Re: http user in php script



I try this
<?PHP
$username=$_SERVER['PHP_AUTH_USER'];
echo "$username";
?>
but it shows nothing

"aznFETISH" <news@xxxxxxxxxxxxx> wrote in message
news:z5U5e.37004$Pc.25728@xxxxxxxxxxxxxxxxxxxxxxxxxx
>I once saw a code to show the username that logged in in a php script after
>logging in with http authentification, I cant seem to find the code
>anywhere
>


.



Relevant Pages