in reply to Script running online?
print getpwuid($<); [download]
sutch
which is my username. Run within a CGI script it printed:
apache
which is the user that HTTPD runs under on my machine.