$WBB64ENC - Base64 encode

Availability
$WBB64ENC  is available for use with all WBSP commands:

Syntax
$WBB64ENC{anystring}
$WBB64ENC[anystring]

Parameters
anystring - any textual value that can be either WhizBase tag, function, plain text or any combination of those

Returns
Base64-encoded value of anystring.

Example

<!--
[FormFields]
wb_command=r
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>WBB64ENC example</title>
</head>
<body>
Original text: äßüâ<br>
WBB64ENC:($WBB64ENC[äßüâ])<br>
</body>
</html>

After running this example the HTML code of resulting page in browser, may look like this:



<html>
<head>
<title>WBB64ENC example</title>
</head>
<body>
Original text: äßüâ<br>
WBB64ENC:(5N/84g==)<br>
</body>
</html>