Perl: Generating a Web Page
Generating a Web Page
To have a program generate a web page
dynamically you must:
- Make sure the program outputs a HTTP header section
- Put the program in a cgi-bin directory, or if enabled you can give it a .cgi extension
- Make sure the program outputs valid HTML and doesn't generate errors, warnings or prompts