Aug 4, 2016, 4:42 PM
Post #1 of 2
spawning perl script from web page
I'm having trouble executing a perl script on a remote server from a web page
here's the code inside the f0.cgi script
print "Content-type: text/html\n\n";
my $out = `ls`;
when clicking on the link I get the content of the script;not the directory listing as it is supposed to do
with the `ls` backtick command.
I'v chmod u+x f0.cgi
and chmod o+x f0.cgi
dir directory containing f0.cgi is also chmod
where did I go wrong ?