开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜