base64_encode

Description

Encode a string in Base64.

string base64_encode( string input )

Returns the Base64-encoded representation of the string.

Example

{base64_encode("sailthru")} = c2FpbHRocnU=
Top