ToBase64

"-->
 ToBase64 (string or binary_object [, encoding]) 

Description

Calculates the Base64 representation of a string or binary object. The Base64 format uses printable characters, allowing binary data to be sent in forms and email and stored in a database or file. Encodings include US-ASCII, ISO-8859-1, UTF-8, and UTF-16.

 <cffile action="READBINARY" file="D:\CFusionMX\wwwroot\testbinary.jpg"  variable="exampleBin">  <cfoutput>  My Picture in Base64 representation:  #ToBase64(exampleBin)#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net