The following code works on php4.3.0, in that the whole image is retrieved. In php4.3.8 the image is only 1/3rd retrieved. Seems like the connection is terminating prematurely. I remember having a similar problem when fetching pages from other websites so I have always set the php ver to 4.3.0 without getting to the true answer. Now I need to. Here is the same code being used. Any ideas.
##-- Get Image file from Port 80 --##
$fp = fopen($imgURL, "r");
if ( !$fp )
continue;
$imageFile = fread ($fp, 3000000);
fclose($fp);
Thanks.