Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.base64-encode.html
Дата изменения: Sun Feb 3 22:56:59 2002
Дата индексирования: Mon Oct 1 21:47:57 2012
Кодировка:
base64_encode

base64_encode

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

base64_encode -- Encodes data with MIME base64

Description

string base64_encode ( string data)

base64_encode() returns data encoded with base64. This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.

Base64-encoded data takes about 33% more space than the original data.

See also: base64_decode(), chunk_split(), RFC2045 section 6.8.