On 2011-04-06 15:59 +0300, Shlomit Afgin wrote:
> I want to build a script that only authenticate users can access. 
> The authentication I want to use is Apache  authentication. 
> During the script I need to know the exact person that login. 
> 
> Is there any environment variable that keep this information? 

$REMOTE_USER, see http://oreilly.com/openbook/cgi/ch02_02.html

-- 
- Olof Johansson
-  www:          http://www.stdlib.se/
-  {mail,xmpp}:  o...@ethup.se
-  irc:          zibri on Freenode/OFTC/IRCnet/...
--

Attachment: signature.asc
Description: Digital signature

Reply via email to