You may use mpf:tokens with programs written for Common Gateway Interface in any language (e.g. Perl)
passing parameters using GET-method
http://localhost:81/cgi-bin/test.pl?user={mpf:session/user/name}
passing parameters using POST-method
To pass parameters you can use input- and/or textarea-tags.
<form
action="http://localhost:81/cgi-bin/test.pl"
method="POST">
<input type="text" name="usr" value="{mpf:session/user/name}">
<input type="submit">
</form>
launch a CGI-script/program using "mpf:exec"-token
{mpf:exec=E:\\Apache\cgi-bin\test.pl}

 | Token will return value you print to standard output |

 | Do not use webserver aliases (e.g. "/cgi-bin/") for "exec"-token - always use absolute path! |
|