0
I need to generate the image converted by string Base64. I have the code below, but when accessing via browser, generates several invalid characters.
<?php
$string = 'hOjo6uPnmm1Gr1fT29tLU1IQoinLUMbdAJJvNEgqFOH78uJxbGI/HEQQBlUpFJpNBrVbzwAMPYDQaAdi3bx+PP/74511dXa9lMpk0MAb8YAWw3yIAcmQGyubOcPFAiAmCYKmqqnryoYceutnr9fLee+/x2WefUVNTQ2Njo+ygSaf.......';
$decoded = base64_decode($string);
echo $decoded;
?>
Good. That’s right. Thank you.
– user54154