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  


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo