Quick perl q =)
Jordan Katz
katz@underlevel.net
08 Jan 2001 22:09:03 -0500
Sean <picasso@madflower.com> writes:
> I have something that works, but basically I was bulk creating a website.
> I have a page-form and need to insert two files or preformatted html
> into it at certain spots.
>
> I was really looking for something similar to the insert file command in
> php.
>
> I am sure there is a better way to do this but I basically inserted a
> comment into the form and replaced it, using print outs and an if
> statement checking every line of the form.
If I understand your problem correctly, and you're using Apache, you
can write:
<!--#include virtual="myfile.html"-->
to include HTML files instead of having the Perl script do it.
--
Jordan Katz <katz@underlevel.net> | Mind the gap