September 2001
Intermediate to advanced
768 pages
32h 45m
English
string base64_encode(string data) Encodes data with base64 encoding.
Returns:
Base64-encoded string; FALSE if the argument passed has no length when converted to a string
Description:
base64_encode() encodes data using the Base64 algorithm and returns the encoded data.
Note:
Base64 encoding is used to encode data before it’s transferred across legacy email systems that only support 7-bit ASCII. For more information on base64, refer to RFC 2045.
Availability:
UNIX, Windows
Version:
3+, 4+
See also:
base64_decode()
Example:
function simple_mime_mail ($to, $subject, $message) { // Find out how many arguments were passed to the function $num_args = func_num_args (); // ... |
Read now
Unlock full access