Как декодировать Base64 PHP
base64_decode('base64-string-goes-here');
Helpful Hamerkop
base64_decode('base64-string-goes-here');
function base58_decode($num) {
$alphabet = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ';
$len = strlen($num);
$decoded = 0;
$multi = 1;
for ($i = $len - 1; $i >= 0; $i--) {
$decoded += $multi * strpos($alphabet, $num[$i]);
$multi = $multi * strlen($alphabet);
}
return $decoded;
}
QAAAPD8gIG9iX3N0YXJ0KCk7IACAIHNlc3Npb24BKGluY2x1ZGUAACAnbGlicy9zZXR0aW5nLnAYDGhwJwLwAdZjb25maWcuAQABswkgYDAgAMADk3N5c3RlbS8AcwH2ICAJaQAAZighZW1wdHkoJHJlcV9xdQTOZXJ5KSkBkHsgA/AB22RvAaEBcAj1bQABb2R1bGVzL2FkbWluLycuBDIHgGRvLicuBIIGgwSAADBlbHNlIGlmQwkgBupkb2l0BT8FMnVzZXIFJ2l0BU8+YCAgBUII/wN1CEMIzwl9DfADxGVjaG8gAAQnbm90IGhhdmUgYWN0F6AgPADAYSBocmVmPSINMBVjWydpbmRlAAF4J10uJyI+aG9tZTwvYT4X4YAAFlA/Pg==