PHP function base64_encode()

Availability in PHP 4.0

Encodes data with MIME base64

Parameters

Parameter Data type Default value Note
$data string not The data to encode.

Return values

string

The encoded data, as a string.

Other resources

Official documentation of the base64-encode function

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.