O'Reilly logo

Practical Web Technologies by V. Lau, P. K. Yuen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14.4. Passing data to CGI applications: name/value pairs

Passing data to CGI applications is an important subject and is the first step for all kinds of server programming. Different server technologies such as Perl, PHP, and ASP may have different command names and data-passing procedures. Fortunately, they are all based on the same structure (CGI structure) and philosophy under the HTTP.

Basically, there are two data-passing methods used in CGI applications, namely, the get and post methods. You can specify them in the method attribute in a form. Basically, you pass information with a name and the value of that name, i.e., a name/value pair. Since data-passing methods and name/value pairs are the secret and success of all CGI applications, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required