I have a base64 encoded string that I would like to convert into an image in PHP / HTML.
Here is what I have:
$data = \"R0lGODdhAAGAAKIAAP38+/3h3cj
You have to use the header() function before echoing your data to specify the content type (gif image). Otherwise browsers will interpret it as html.
header()