mpfserver Manual
mpfserver
Token structure
Variables
Directives
Date/String operations
mpf:convert
mpf:date
mpf:encode
mpf:len
mpf:pos
mpf:replace
mpf:sub
mpf:trim
mpf:url
Examples
File operations
XML operations
Database/Communication
Use Cases
Software Licence
Search...
mpfserver
/
Date/String operations
mpf:url | assemble URL-strings
mpf:url
add "GET"-parameters to an URL without knowing if [myBaseURL] already has parameters added
appended data will be URL-encoded automatically
Examples
{
mpf:
url
}
=
[mybaseurl]
relative or absolute url to add parameters to
||
[myparam]=[mydata]
name of "GET"-parameter [myparam] and value for this parameter [mydata]. this parameter may be used several times (exception!) to add as many parameters to url as you need to. [mydata] will be automatically converted to URL-format
||
convert=[lowercase|uppercase|upperfirst]
convert assembled url
||
encode=[url|html|html-chars|crypt]
encode assembled url to another format
||
trim=[left|right|both]
remove whitespaces from assembled url
||
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 assembled url
2004 by master-p-formance.All rights reserved.
This manual is generated on the fly using mpfserver and
MPFT (mpf transformation).