Hi Hari, On Mon, May 20, 2013 at 11:32 AM, hari prasadh <[email protected]> wrote: > Hi Everyone, > > Can somebody provide some sample program in detail how to pass html values > to shell script. > > <form name="input" action="create_job.sh" method="get">
Normally a HTML form sends the data to a URL by GET or POST methods. There will be server-side code to handle the incoming data, validate it and if it is valid do some operation with it. So you have to write all the logic of sanitizing the input and calling the shell script in the server-side code in your favourite language (PHP, Python, Ruby, Perl, Java and etc.). It is not a good idea to blindly trust the client-side input data and perform operations on it, hence validation and sanitization are required. Thanks & Regards, Guruprasad _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
