base64_encode


Description

Encode a string in Base64. This is useful for passing encrypted user information, such as email, in a query parameter.

string base64_encode( string input )

Returns the Base64-encoded representation of the string.

Example

{base64_encode("sailthru")} = c2FpbHRocnU=