Well, that's definately going somewhere Drakla!!
My code looks like this:
<?php
list($PHP_AUTH_USER, $PHP_AUTH_PW) = explode(':', base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)));
echo $PHP_AUTH_USER;
?>
And when I log in using my username (currently I have to enter the domain as well): DATAINT\andrew.edmonds
the output is:
j×¾NTLMSSP„œ@Nj´‚ˆ dataintandrew.edmondsANDY-E-LAPTOP&ó“,Å5H¬
Now I can see in there my domain name, my user name (woo!) and the hostname of my laptop, but obviously it's surrounded by a whole lot of rubbish!!
Any thoughts?