Rolf wrote:
Maby this helps you:
http://php.holtsmark.no/base64img/
Check the demo-site if it is working correctly in NS and let me know.
Hey, nice PHP work. 🙂 I've done a little more experimentation and discovered that when I serve my page from a different webserver, <img src="x.php"> works even in NS4.5. Also, I have discovered that the problem persists at my current webhost even when I eliminate the db from the equation by doing something like:
<?php
header("Content-type: image/jpeg");
readfile("images/x.jpg");
?>
Furthermore, I have discovered that Opera 5 will actually crash when I browse to the current webserver as soon as I scroll down to one of the PHP-driven images. The base64img code works fine on my test server, but again, same broken img for base64img when I serve it up from the same place as my broken page. I'm starting to wonder if it might not be a really weird Apache problem... but this is definitely one for the knowledge base. Will post the solution if I ever find it. 🙂
ARRGH!