base64_encode and base64_decode

base64_encode and base64_decode
(PHP 4, PHP 5)

base64_encode — Encodes data with MIME base64

string base64_encode ( string $data )

Example #1 base64_encode() example

$str = 'This is an encoded string';
echo base64_encode($str);

The above example will output:

PHP Manual base64_encode

base64_decode — Decodes data encoded with MIME base64

string base64_decode ( string $data [, bool $strict= false ] )

$str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
echo base64_decode($str);

The above example will output:
This is an encoded string

PHP Manual base64_decode

see also : Base64: Encode and Decode Base64 Files

Links :
Free PHP scripts source code Base64 encoder / decoder
Base 64 Decoder - Base 64 Encoder
Free online base64 encoder and decoder
base64 sample decoder and encoder
Dynamic Flash Base64 encoder/decoder class
Base 64 encoder/decoder C, C++ source code
Handle-based Base 64 Encoder/Decoder C source code
Asp > Mathematics sample source codes
VB6: Free, Easy and Quick Base64 Encoding and Decoding in Visual Basic
Base64 decode VBS function (vb decoder algorithm), source code
Visual Basic Base 64 Encoding/Decoding Class
Base64 encoder/decoder in Visual Basic
Base64 From Wikipedia

Black Friday 2017