BASE64 ENCODE FILE()
From Lianjapedia
Revision as of 08:54, 12 December 2013 by Yvonne.milne (Talk | contribs)
Contents
Purpose
Function to generate the base64 encoded contents of a file and output it into the HTML5
Syntax
BASE64_ENCODE_FILE(<cFilename> [, <cType> [, <cWidth> [, <cHeight> [, <cCSSattribute>]]]])
See Also
BASE64_DECODE(), BASE64_ENCODE(), BASE64_ENCODE_IMAGE()
Description
The BASE64_ENCODE_FILE() function is used to generate the base64 encoded contents of the file <cFilename> and output it into a WebView or the HTML5 sent to a browser. The optional <cType> can be used to specify the file type. If <cType> is an image type, the output will be enclosed in an IMG tag and the <cWidth> and <cHeight> can be used to specify the image dimensions and <cCSSattribute> to add additional CSS attributes.