TWiT Throwback (Video)

Coding 101 26: Perl: Reading GET Form Actions


Listen Later

The Code for today's show is available at our: GitHub

Ivory Tower

Let's talk about Forms in HTML! HTML has two different 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
      • Example:


        Name:


        • If we type "Roger" into the "Name:" field, the URL that will be generated when we click "SUBMIT" is: "../cgi-bin/bunny.pl?BunnyName=Roger"
          • Your browser will then request the server to run the script "bunny.pl" and pass it the string "BunnyName=Roger"
          • Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

            Guest: Patrick Delahanty

            Get in Touch With Us!
            • Subscribe and get Coding 101 automatically at https://twit.tv/shows/coding-101
            • Follow PadreSJ and Snubs on Twitter
            • Bandwidth for Coding 101 is provided by CacheFly.

              Sponsor:

              • hover.com promo code C1017
              • ...more
                View all episodesView all episodes
                Download on the App Store

                TWiT Throwback (Video)By TWiT