Apache::ASP Powered by ModPerl & Apache Powered by Apache::ASP
Demo ASP: cgi.htm 2024-11-15

A Simple Example

What's your name?

What's the combination?

What's your favorite color?


This script is a demonstration of using the CGI.pm library in an ASP script. Please remember that using CGI.pm will probably NOT be portable with PScript and PerlScript.

As of version 0.09, you may use CGI for reading form input without any change to regular use of CGI. Before, you couldn't do a

 use CGI; 
by itself, as it would try to read form input that had already been loaded into $Request->Form(). Form input is now cached, and may be loaded into CGI as well. In short, use of CGI.pm is now transparent in Apache::ASP, as both output and input have been merged seemlessly.

view this file's source