Index  Up  <<  >>  


FILE and INCLUDE

These elements read a file from the disk and insert the contents in the location of the tag. [include ...] will allow insertion of MiniVend variables.

[file ...]
named: [file name=``name'' type=``dos|mac|unix''*]

positional: [file name]

Inserts the contents of the named file. The file should normally be relative to the catalog directory -- file names beginning with / or .. are only allowed if the MiniVend server administrator has disabled NoAbsolute.

The optional type parameter will do an appropriate ASCII translation on the file before it is sent.

[include file]
named attributes: [include file="name"]

NOTE: New to MiniVend 3.04.

Same as [file name] except interpolates for all MiniVend tags and variables.


Index  Up  <<  >>