PHP
Chilkat2 PHP
Decode Base64
Demonstrates how to decode base64.Chilkat PHP Downloads
<?php
use Chilkat2\BinData;
$bd = new BinData();
// Append a base64 string to bd.
$bd->AppendEncoded('c2VjcmV0', 'base64');
// The bd now contains the decoded bytes.
// Let's say it was a password string..
$password = $bd->GetString('utf-8');
// Decodes to "secret".
echo 'password = ', $password, "\n";