in reply to SSI includes vs. require

this is some raw info.. just to help out..

Subs are chunks of reusable code. By themselves they are little use other then as text in your html

scripts. programs, use subs to do stuff.

if you do an include

you know how you could have a script that spits out part of something you may want to use in an html document- you could make a script called .. say... header.cgi - that just creates a header for your html document. Maybe you have a script that generates a calendar.. cal.cgi .. so you would maybe do this..

<!--#include virtual="cgi/cal.cgi"--> and then you get your calendar on the shtml page. You may want to play with passing parameters in the query string to that.