Join Bill Weinman for an in-depth discussion in this video Understanding the query string, part of CGI Essential Training.
As I have said before, when the browser sends a request to the server for a…response from a CGI application, the server sends environment variables to the browser.…If the request also includes query information, that is data from a form,…sometimes that data is sent in another method that is not actually in the…environment variables.…And you need to know about this, so let's take a look at how this works.…Let's start by loading up our form from Chapter 3, our feedback form, and let's…load this up in the editor, and make sure that in action you have the URL to…your server and the test.cgi application on your server.…
Do not use my server. That won't work.…Make sure it's the one that you've uploaded.…Once you've made sure of that, you can go ahead and load it up in the browser…and type some information in here.…All right, now we have the response from the test.cgi program and here we have,…you see, these CGI values.…You'll notice however that information does not actually exist anywhere in…the list of environment variables.…
- 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