Does anyone know how to do the following:
A user logs in to a page with a valid userID and password from .htaccess. How do you display what that person's UserID is on the protected html page?? Is there a way??
Any help would be great!
Thanks,
Preset var $REMOTE_USER contains the htaccess login ID, I think. Try testing with phpinfo().
nik
That's great. But can someone help me write the code... It shouldn't be much but I'm a newbie at PHP and it'll take me forever.
Thanks to anyone who can help!!
I think Nik is on to something... but i'm not sure how to code it.