Examples are:
<?ezs SOURCE filename.html ?> includes the file "filename.html". This could be useful for including a menu, banner, etc...
<?ezs INCLUDE filename.html ?> includes the file "filename.html" AND fills in any form fields. This is probably just going to confuse people, but it might be useful.
Or, try this:
<?ezs REPORT database.asc QUERY ?>
Field 1: {field_1} Field 2: {field_2}
{/report}
This is actually rather sophisticated. It prints a formatted report from an ASCII file ("database.asc") on the server. See below for tricks you can do with the stuff inside the braces. QUERY is something of the form
"field_1=value&field_2=val*"
You can use the ? and * characters as wildcards the same way you do in DOS file names.
Note that there needs to be a space between the last parameter and the ?> in this report language.
You can also include the answer to a previous question as part of the HTML to be printed with this syntax:
<$field_name>
You could also print the environment variables
<$$REMOTE_ADDR>
This variable inclusion can be rather complicated You can use comparisons and field values. The syntax here is borrowed from Perl and C.
field_name: just prints the field value
$env_var: prints an environment variable
field=value?text to print if the comparison is true:text for false!text if the field is not found
field=$field?$field:$field
The characters ? : ! are used as delimiters here. There should be no spaces.
Note that you can use the $ to print a field value instead of a fixed value.
Comparisons may be: