in reply to Re: Re: Script to unzip a zip file on the server......
in thread Script to unzip a zip file on the server......
Update: Run this as a CGI script to see the what the PATH variable for CGI scripts is set to:
(This is untested code, but it should work unless I've made a really stupid mistake. Also, showing the PATH could be a security risk, so after you've run it, be sure to make it non-accessible by others.)#!/usr/bin/perl -w use strict; print "Content-type: text/html\n\n", `echo \$PATH`.
|
|---|