info home Info Homegeneral Generalwindows Windowsunix linux Linux/Unixdebian Debianmac os Mac OSapache Apachenginx Nginxiphone iPhone/iPod Touch

Tags

SSI Includes

Tags: ssi, apache, cgi

How to embed CGI scripts in HTML files

In order to embed CGI scripts, first find if your web hosting company supports Server Side Include (SSI). Call or email your tech support to find this. [If you're hosting on Bluehost, yes they support SSI]

Testing the SSI include

Lets create a file called ssi.html that embeds a Perl script date.pl. This Perl script outputs the current date and time when executed.

Demo

Check out the working demo here.

Last Updated on 2007

If you liked this article, subscribe to our Feed, follow us on Twitter (@aruljohn) and/or join our Facebook Page.