|
Posted by Nicholas Sherlock on 02/13/06 02:16
Richard Levasseur wrote:
> Alternatively, you can use chmod() to change the file attributes to
> allow reading/writing of the file. Might be faster than the ftp
> functions.
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.
> Apache can be setup to follow, not follow, and change the owner id of
> symlinks. Since you said symlinks are apparently working, I don't
> think it matters which you choose in this case.
Thanks.
Cheers,
Nicholas Sherlock
Navigation:
[Reply to this message]
|