base64_decode problem
If i decode base64 encoded bitmap, i get back nothing. Where as i should get some binary data.
Suppose $data contains base64 encoded bitmap.
$decoded = base64_decode($data);
if i echo $decoded it prints nothing even its length is '0'. Shouldnt it开发者_如何学Go contain something after decoding?
Also can you decode base64 encoded binary data in php?
I was doing it wrong, even when api said it was encypted data it wasn't encrypted.
精彩评论