[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] the directory where the script is running



On Thu, 20 May 1999 00:27:40 -0500, Walter wrote:

>The only problem I have found with this MODule is when placed in a CGI
>running under MS IIS ( web server). It returns the path to the CGI
>directory, not he script path. grrrr!

If you want to know the path of the script on CGI, look at the
environmental variables. At least, I find, on Solaris+Apache that
$ENV{SCRIPT_FILENAME} contains the full path of script.

You should test for yourself if your platform supports this, too.

   HTH,
   Bart.

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org