I have a .htaccess password protection through cPanel. I am trying to get the username passed with this through the php PHP_AUTH_USER, but it doesnt work. I remember doing this in perl about 2 years ago.
Im running PHP with Apache but all I know is that I have it installed as an Apache module, the only other option is CGI or something like that - been awhile since setup.