User Tools

Site Tools


en:public:developer:template_system:tags:parameters:base64encode

This is an old revision of the document!


Table of Contents

base64encode

Parameter “base64encode” means that corresponding content (variable or function) will be converted to base64. Base64 — is a way to encode the data with using of ASCII-characters like A-Z, a-z, 0-9 and some special characters like ”+” and ”/”.

It can be useful to encode binary data or some param to send it somewhere (for example, to add some data in URL).

Values

Value Description
1 Means that value must be base64-encoded. If something else is specified parameter “base64encode” will be ignored.

Example

<#Var name="MyVar" value="12345">
<#MyVar base64encode="1">

Output:

MTIzNDU=
en/public/developer/template_system/tags/parameters/base64encode.1354014583.txt.gz · Last modified: 2012/11/27 15:09 by igor