5

Help with HTML!

view full story
linux-howto

http://www.linuxforums.org – HTML help passing variable value to a script. -------------------------------------------------------------------------------- I want to make a web page that has a text box with a send button. How should the html line be edited to send the text to the script as a variable 'a' and then store it in a variable in the script located at /usr/lib/cgi-bin? HTML <textarea name="comments" cols="50" rows="6"> Enter text here... </textarea><br> <input type="submit" value="send" > <form action="/usr/lib/cgi-bin/s1.sh" method="post"> </form> To execute s2 what changes should be made to the following code/tag. s2 will print the first line to the screen. <action="/usr/lib/cgi-bin/s2.sh" method="post"> (HowTos)