Page 1 of 1
SSI spew
Posted: Mon Oct 15, 2001 3:47 pm
by sourceuno
I'm trying to use spew to display the contents of a static html page but it returns nothing. Here's my syntax:
<spew "/inc/myinc.htm">
Why isn't it reading the file?
SSI spew
Posted: Mon Oct 15, 2001 3:54 pm
by Kai
<spew> returns 1 on success, 0 on error; but it *prints* the contents of the file. If you want the contents of the file in a variable for further processing first, use <read>. See the Vortex manual.
SSI spew
Posted: Mon Oct 15, 2001 3:57 pm
by mark
Also note that the filename must be absolute, not relative to DOCUMENT_ROOT.