good afternoon…
ok… got a strange one…
i’ve got a database script that loads the blob from the database into the $bytes string…
and then i’ve been using this display the image…
header(“Content-type: image/jpeg”);
print ($bytes);
exit();
so i’ve rebuilt the server (xampp on windows)
and restored the database…
and everything works just fine apart from no images…
i’ve checked the database… and if i add a new blob even that does not get displayed…
if i echo the $bytes string i get a screen full of garbage. (which looks like what should be a jpeg… )
but no image…
so whats happened… i’ve been through everything i can think of, permissions / checking the mod rewrite urrm… but it’s gonna be something daft… no-doubt… but i’ve looked at about 300 forums and i cant find the answer…
thanks
Pad