Dear Frieds,
To work for basic authentication we have to use the variables
$_SERVER['PHP_AUTH_USER']
$_SERVER['PHP_AUTH_PW']
bydefault where can I set these values in apache cofig files or php.ini file
regards, bvsureshbabu
u wish to specify a default username/ password? You can't do it in Basic HTTP Authentication...
note: this isn't the right forum to post this kinda message
hi jayanth,
thanks for your reply
I can I configure the $_SERVER["'PHP_AUTH_USER'"]
is where I have to specify the server variable PHP_AUTH_USER value
regads, bvsureshbabu
if you are running PHP as an apache module then $SERVER['PHP_AUTH_USER'] and $SERVER['PHP_AUTH_PW'] will be available from the credentials supplied via HTTP authorization. you should read up on Authentication, Authorization and Access Control.
as per my info you cant specify the default username/pwd for Basic HTTP Authentication in php.ini/ httpd.conf/ .htaccess.
try seeing apache's manual/ build your own version of apache do do it by modifying the apache's code