html - passing form input to a script -
i trying input html form pass script. pretty new @ this, form asks enter name (first & last) when hit submit, trying have return, name is....
here form page
<doctype html> <html> <body> <p>please enter name below.</p> <form method="post" action="/cgi-bin/test2.cgi"> first:<br> <input type="text" name="firstname"> <br> last:<br> <input type="text" name="lastname"><br> <br> <input type="submit" value="submit"><br> </form> </body> </html>
and script
#!/bin/sh echo content-type: text/plain echo echo name $firstnmae $lastname echo