I tried to update the php version of my VPS but it didn't work and my provider didn't help me well, so i downgrade it to the previous version.
I am now working with PHP 5.2.17 (cli). Everything was working properly in this version.
Since this upgrade and downgrade, the variable $_SERVER['PHP_AUTH_USER']
is empty. (In the php.ini, register_globals
is 'on' and $_SERVER['PHP_SELF']
is properly working).
It ask me properly my username and password and i success to connect but i need to use $_SERVER['PHP_AUTH_USER']
.
I tried $_SERVER['PHP_AUTH_USER']
, $_SERVER['AUTH_USER']
, $_SERVER['REMOTE_USER']
nut none is working. (but im never getting any error, just a blank value...)