Hi everyone,
I'm experiencing problems with the GD (2.0) function "imagecreatefromjpeg".
The code code in question is:
<?php>
function ProcessFile($absfile) {
echo $absfile."<BR>";
$im=imagecreatefromjpeg($absfile);
//some image manipulating statements
//...
}
?>
ProcessFile is called a number of times - for each file in some directory. But at some point - after about 100 files (depending on which files I use) - the imagecreatefromjpeg blocks the execution and nothing more is returned.
Some of the filenames i pass to the ProcessFile function aren't valid image files. Still the imagecreatefromjpeg shouldn't crash right?
Does anyone out there experience something similar?
Happy coding :-)