mpfserver Manual
mpfserver
Token structure
Variables
Directives
mpf:eval
mpf:exec
Examples
mpf:function
mpf:ignore
mpf:loop
mpf:noparse
mpf:switch
mpf:redirect
mpf:toggle
Date/String operations
File operations
XML operations
Database/Communication
Use Cases
Software Licence
Search...
mpfserver
/
Directives
mpf:exec | execute external programs (e.g. CGI-scripts)
mpf:exec
launch external programs (e.g. CGI-script, written in Perl)
Examples
{
mpf:
exec
}
=
[ProgramToExecute]
the path/name of program to execute
Do not use webserver aliases (e.g. "/cgi-bin/") for "exec"-token - always use absolute path!
||
convert=[lowercase|uppercase|upperfirst]
convert result string
||
parse=[yes|no]
parse result string for mpf-tokens
||
encode=[url|html|html-chars|crypt]
encode result of execution to another format
||
trim=[left|right|both]
remove whitespaces from result of execution
||
convert_section=[lowercase|uppercase|upperfirst]
convert section data (for use with closing token only)
||
parse_section=[yes|no]
parse section data for mpf-tokens (for use with closing token only)
||
encode_section=[url|html|html-chars|crypt]
encode section data to another format (for use with closing token only)
||
trim_section=[left|right|both]
remove whitespaces from section data (for use with closing token only)
||
[opr][condition]
condition may be used to check result of execution
2004 by master-p-formance.All rights reserved.
This manual is generated on the fly using mpfserver and
MPFT (mpf transformation).