PHP and .htaccess ???
Posted: Mon May 17, 2004 4:20 am
Can anyone please tell me:
If you set up an .htaccess user:password on a directory, so that the user must login to access scripts within that directory, is it possible to tell from within the PHP script they are accessing, which user is logged in?
(ie. which username they used to login via .htaccess?)
Thank you!
Neil
If you set up an .htaccess user:password on a directory, so that the user must login to access scripts within that directory, is it possible to tell from within the PHP script they are accessing, which user is logged in?
(ie. which username they used to login via .htaccess?)
Thank you!
Neil