OK i have used Cpanel to set up user authentication on a folder the .htaccess goes PHP: <LIMIT GET POST>require valid-user</LIMIT> AuthType Basic AuthName "Restricted Area" AuthUserFile "*******" require valid-user Now i can't seem to access the password from php, i know if i send the login headers myself i can use $PHP_AUTH_USER to acccess the user name, but it won't work here. Any ideas.