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

15.3. Basic CGI applications with Perl

15.3.1. Collect and store data online

One of the practical applications of using server storage is to collect user information online such as comments and consumer opinions. These data may be used later for statistical analysis and form one of the basic tools of marketing research.

Our next example is a page to collect users’ opinions on their favorite browsers and operating systems. This page first displays an XHTML document ex15-09.htm for the user to fill. Once the form has been filled and the Send button pressed, the form will be submitted to the Perl script program ex15-09.pl for processing. After sending an acknowledgment back to the user, the Perl script opens a data file and appends the data to ...

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