File Permissions
Aiight. I've been playing with imaging functions a bit, and managed to make some neat little effects for thumbnails and such. One in particular loops through, masking a given image down to a specified size, slightly moving the masked area each time, and finally writes it to file in a frames/ directory. From there, a js script loads the images into cache and cycles through them at a given rate. The result is a jerky, almost camera-like effect, panning around the image as a large, cycling thumbnail.
This is great and all, but only works on my local machine. When I try writing to file on teh remote server using imagejpeg(), it throws out an error and refuses to create the frame files. My friend told me to use chmod() w/ 777 to allow for writing on the given directory, but that didn't work either. One odd thing as well is that it actually writes the second frame to file, but no others.
I was just wondering what I'm doing wrong, or forgetting or whatever. I'm pretty positive it's file permissions, but I don't know much about em' and the documentation isn't too clear on the subject. Any help is appreciated.
This is great and all, but only works on my local machine. When I try writing to file on teh remote server using imagejpeg(), it throws out an error and refuses to create the frame files. My friend told me to use chmod() w/ 777 to allow for writing on the given directory, but that didn't work either. One odd thing as well is that it actually writes the second frame to file, but no others.
I was just wondering what I'm doing wrong, or forgetting or whatever. I'm pretty positive it's file permissions, but I don't know much about em' and the documentation isn't too clear on the subject. Any help is appreciated.
