in reply to running a Perl script with options via HTML

Are you aware of the permissions restrictions on web servers? They usually come in a very low permissions level, and unless you are running suexec ( or similar ), you probably don't have the permissions to run the script. You may have to ssh in to run your script as a priviledged user.

I'm guessing that you get the symptoms with the options because the script fails differently, and gives you the appearnace that it ran. What does your server logs say?


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: running a Perl script with options via HTML

Replies are listed 'Best First'.
Re^2: running a Perl script with options via HTML
by tronmason (Initiate) on Mar 21, 2014 at 17:46 UTC
    I'm not sure why it would be an issue with permissions because it runs like it should (verified) when I don't pass the parameters but include them in the Perl script as shown. It actually runs and works. The error I get when I pass the parameters is the same as when I do not supply the needed parameters within the perl script.