Reply to Server doesn't allow chmod with PHP!

Server doesn't allow chmod with PHP! new!
by oguz, 13 years, 9 months ago
OK, here is an expertise question for 10 points: I know this upload class uses automatic file permission change and then upload, but the thing is our server does not allow PHP chmod function (I don't know how). To change file permissions you have to connect with FTP. It's OK, because I can use ftp functions in PHP to connect, change file permission to 777, upload files, then change file permissions back to 755. But newly created (by class.upload) directories' owner is not the same user that I connect to server, so, I can NOT chmod new directories to 755.

Any solutions?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important