开发者

thumbnail image creation script problem

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'users/158/images/thumbs/1308420484.jpg' for writing: No such file or directory in /home/cham1992开发者_StackOverflow/public_html/uploadimg.php on line 99

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'users/158/images/thumbs/small_thumbs/1308420484.jpg' for writing: No such file or directory in /home/cham1992/public_html/uploadimg.php on line 99

i got this error when creating thumbnails for original image using php.what's the solution for this.

users folder permissions=0777


Try is_writable. Additionally you can use file_exists to check if the file exists. The file may exist but there may be a reason PHP can't access it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜