Difference between revisions of "BASE64 ENCODE()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[BASE64_DECODE()]]
+
[[BASE64_DECODE()]], [[BASE64_ENCODE_IMAGE()]]
  
 
==Description==
 
==Description==
Line 22: Line 22:
 
</code>
 
</code>
  
==Products==
 
Lianja, Lianja Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Lianja VFP Extensions]]
 
[[Category:Lianja VFP Extensions]]
 
[[Category:VFP Function Extensions]]
 
[[Category:VFP Function Extensions]]

Revision as of 06:37, 3 September 2013

Purpose

Encode a string with MIME base64

Syntax

BASE64_ENCODE(<expC>)

See Also

BASE64_DECODE(), BASE64_ENCODE_IMAGE()

Description

The BASE64_ENCODE() function is used to encode a character string with MIME base64.

The BASE64_DECODE() function is used to decode back to the string.

Example

// Write encoded password to a file
m_pass=space(10)
@10,10 get m_pass
read
strtofile(base64_encode(m_pass),"password.txt")