Join Bill Weinman for an in-depth discussion in this video Getting data from the form elements, part of CGI Essential Training.
So you have got your web form and it's all filled out and the user has hit the…button and your CGI program gets the data and now what?…Well, that's what we are going to talk about in this movie.…We are going to talk about how you can access that data from inside of your…program so that you can do all of the interesting things that you want to…be able to do with it.…So I am going to go ahead and submit this form and there we have our data and…our CGI values and this of course is just the test.cgi program that echoes…the data back to us.…
What if we wanted to do something else?…So I have brought the test.cgi program up here and you will see that this is the…one that's loaded off of my server.…We have got all the data and this here is the line where we get the data.…Now this is using the CGI module that comes with Perl.…In that module, there is a function called Vars, which grabs the data, and there…are lots of different modules and there are lots of different languages and…there are lots of different libraries.…
- Understanding the server requirements for CGI
- Installing CGI scripts on Unix and Windows servers
- Coding form elements into an HTML page
- Keeping context with hidden fields on a web form
- Learning best practices for creating CGI content