Perl: Reading GET Form Actions
Guest: Patrick Delahanty
The Code for today's show is available at our: Github
Let's talk about Forms in HTML!
HTML has two differeny ways to "submit" data that has been entered by a user into a form.
* "GET" and "POST"
Today, we're going to talk about "GET"
* GET is the simpler of the two methods
- All it does is take whatever data the user entered into the form, and append it to the end of the "action" address
<FORM METHOD=GET ACTION="../cgi-bin/bunny.pl">
Name?: <INPUT NAME="BunnyName"> <br>
* If we type "Roger" into the "Name?:" field, the URL that will be generated when we click "SUBMIT" is:
** Your browser will then request the server to run the script "bunny.pl" and pass it the string "BunnyName=Roger"
Get in Touch With Us!
* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter.
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!
* Check out our transcripts.