Hi Martin,
I read somewhere else that this was required for binary files.. However
it certainly doesn't seem to be..
As it turns out, when I took out the stripslashes($row[0]) from:
// 1. Get Image from DB to String
$sql = "SELECT Image FROM Images WHERE ID='$ID'";
$res = dbi_quer
try changing this line
fputs($fd,$Images,strlen($Images));
to
fputs($fd,$Images);
as you don't need to specify the length. If you don't specify the length,
it'll write the entire string. see how that goes...
-Original Message-
From: Mike Gifford [mailto:[EMAIL PROTECTED]]
Sent: Friday
2 matches
Mail list logo