Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Securely serving files
- Nicholas Sherlock
February 13, 2006, 12:16 am
Re: Securely serving files
AFAICS, chmod() isn't the problem. The problem is that when using
Mkdir() the owner of the created folder isn't the same as the owner of
the script, and PHP's safe mode therefore doesn't allow you to access
the created folder (You can't even call Chmod() on it). Creating it
through FTP solves this problem.