P is for Practical | |
PerlMonks |
Re: How to determine the program path from a set-uid programby turnstep (Parson) |
on Apr 01, 2000 at 07:17 UTC ( [id://6648]=note: print w/replies, xml ) | Need Help?? |
I'm able to duplicate the problem easy enough, but I
can also get the name of the script through the web from Apache which
sets the variable $ENV{'SCRIPT_FILENAME'}. I can also get it
from the command line by looking at the value of the
environment variable "_". This was on a fairly old sparc,
so it may help, or may not.
In Section
Seekers of Perl Wisdom
|
|