good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Access system ENV variables from within CGI Scriptby arcnon (Monk) |
on Oct 12, 2007 at 14:00 UTC ( [id://644486]=note: print w/replies, xml ) | Need Help?? |
a cgi script runs as wwwrun or www or whatever. Which is why it can't get at a "user" .profile. From my understanding the .profile was a config file that isn't loaded until you launch a terminal session and unloaded on close. Usually the profile.local is the global profile. Perhaps the better question is what you are trying to glean from the file that might be gleaned thur another way.
In Section
Seekers of Perl Wisdom
|
|