Apache automatically puts the logged-in username in the REMOTE_USER enviromnent variable, which can be accessed by any CGI program. In Perl, it's $ENV{'REMOTE_USER'}.
I am not sure how to query what I am doing here on Google, but for years I have been "copping out" by taking a text stream, writing it to a file, and then reopening that file and reading it with ...
The former second-class citizens of the programming world have leaped to the fore, changing the face of enterprise software development. With the rise of Web 2.0, scripting languages (also called ...