Forum Moderators: coopster
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'photos/117/11705-1.jpg' for writing
I have checked, and the directory photos/117/ exists and has the correct permissions (755). I also have the same code running on a different site, and it works there.
Does anyone have any suggestions about what I might test or look for?
Thanks!
if(![url=http://php.net/is_dir]is_dir[/url]('photos/117')){ [url=http://php.net/mkdir]mkdir[/url]('photos/117', 0755); }