Hello,
I have a set of HTML files that are maintained by someone else. The easiest process for us right now is for her to create/edit the files locally then upload them to a directory on the server. Then my script would just include them at runtime into the 'text area' of the template.
I have been trying to figure out a way to dynamically include a file in the template with HTML::Template and Cgi:App. I have tried using <TMPL_INCLUDE> but this doesn't allow me to specify a page at runtime. I have also considered opening the file and reading it into a variable then using a <TMPL_VAR> to get the content into the page, but reading in a file line by line every time the page is requested seems a bit extraneous.
Anyone have suggestions on a better method to make this happen?
Jeffrey Robbins
suppressed
Linux counter#:213782
http://counter.li.org
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.