Usage

Syntax: base64decode(str contents);

Explanation

Decodes the given string using the base64 system.

Note that base64 is not encryption and does not provide any real security, since a base64 string can be decoded just as easily as it can be encoded.

To encode a base64 string, see base64encode.

Example

function onCreated() {
  echo(base64decode("SGVsbG8gd29ybGQh"));
}

... Will output "Hello world!" in RC when on the serverside, or in your F2 menu when on the clientside.

Categories

CategoryFunctionClientside
CategoryFunctionServerside

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki