I have this function that creates thumbnails from uploaded images. It works fine until it hits imagejpeg():
"Warning: imagejpeg() [function.imagejpeg]: Unable to open '../users/evanct/57fc1272653226e790ae7e2e78705e3d/thumbnail' for writing: Permission denied in C:\Apache2\htdocs\fileservice\core\upload.php on line 32"
which is odd because I checked the permissions of the thumbnail directory and it's 0777, just as it should be. i even set its parents to 0777 to be sure, but i'm still getting the error. anyone know what the problem might be?