web CGI interface for shell script perl/php/python
$30-250 USD
Completed
Posted almost 11 years ago
$30-250 USD
Paid on delivery
I have a shell script that takes several command line arguments as input and produces text output.
I would like to add a web interface to execute the script and display the output. The web interface will read input (ie. text boxes, dropdown menu, radio button, etc) and pass along the input as command line arguments to the script. It will then display the text output of the script.
Requirements:
- prefer coding in perl, php or python (ie. LAMP)
- no special formatting of output required
- the script should:
-- test the input (eg. empty values, non-alphanumeric characters, etc.)
-- check for existence of the shell script
-- pass along any error messages (ie. STDERR) from the shell script
-- check for empty output from the shell script
We expect to modify the shell script in the future (ie. add more flags) so future work on the web interface likely required. This work is part of a larger POC, depending on the success of this work we expect to have similar projects for other shell scripts in the future.
Hello,
I am a Perl scripting expert interested in this project. I can create a Perl/CGI script to prepare a web-based interface for inputs to the script; verify data; run the shell script and capture results (including errors) to be displayed.
A IDLER
Sir, I have over 6 years of solid Python and general scripting experience. I can use Python's standard subprocess module for handling the communication with the shell script and the piped input/output. Please see my PM for more details including a reference example.
I'm good at making web bots, interfaces and things exactly like this. I'd gladly do it for you. My language of preference is python. Looking forward to hearing from you.
I can write this in Perl since if it is much straightforward to invoke another shell script with Perl. I'm a Perl CPAN contributor and a new freelancer on freelancer.com, willing to do this project at a low price to gain reputation.