Reading in an html page and including it in cgi ?
Posted on 2003-02-24
Hi there, I have a quick question that hopefully is an easy answer.
I am coding a database driven site using cgi / mysql, but for some of the pages I would like to create a simple html page like form.html then with my cgi code just say like
"include form.html here and display it" so in future I can simply open the html page and edit it without having to scroll through all the cgi code. I assume this is possible?
In coldfusion for example, you can just use "cfinclude template=form.html" then it would display it.
It doesnt have to be .html it could be a .txt file.
Thanks for any help in advance