- printenv.pl_.txt
-
Demo Perl script that just prints the environment variables that the server passes to the script. This scripts get installed in your
cgi-bin
directory by default and is useful for testing. - printenv.sh_.txt
-
Demo Bourne Shell script that just prints the environment variables that the server passes to the script.
- phpinfo.php_.txt
-
Demo PHP script that prints out the all the PHP execution environment variables including internal PHP variables and settings. This scripts get installed in your cgi-bin directory by default and is useful for testing.
- guestbook.pl_.txt
-
Demo Perl script that shows usage of CGI.pm and user interaction through a form.
- netsmtp.pl_.txt
-
Demo Perl script that shows how to send mail from your CGI program.
Example CGI Scripts
Last modified December 9, 2015