Thanks Jacob, but it doesn't seem to work for me, I have a directory protected with .htaccess, and a form in that directory where I want to default the userid into. For example:
Code Sample: <input type=text name=name size=30 value='<?php print $PHP_AUTH_USER; ?>'> |
|
But the $PHP_AUTH_USER returns null. I looked up the documentation on it at
www.php.net, and it seems that I'm using it right. Actually trying to print the authuser returns a null also.
Does anyone know what I'm doing wrong?
Thanks
Sneaky
[edit]Fixed spelling and clarified a few things[/edit]
[This message has been edited by SneakyDave (edited 05-08-99)]