faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

49 of 62 people (79%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How can I get user via PHP after .htaccess login?

Feb 24th, 2008 19:46
dman, Cinley Rodick, Dan Zambonini, Frank Hoechel, http://www.ttnr.org


The $REMOTE_USER variable should contain the htaccess user (assuming 
you have complied PHP as a module, not running as CGI).