Hi, I was running the php script to upload images from last two years. But from 2 days i am getting these warning messages and also I cant upload the images too. I run two functions. First function copy the image and save in directory and second image function resize it and make a thumbnail images.
It is not making any more thumbnail images. Can someone explain this. I am not very good in php.
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Premature end of JPEG file in /mnt/w0401/d04/s45/b0225e10/www/include/func.php on line 240
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '../upload/7508.jpg' is not a valid JPEG file in /mnt/w0401/d04/s45/b0225e10/www/include/func.php on line 240
Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/w0401/d04/s45/b0225e10/www/include/func.php on line 252
thanks in advance.