title: Is there a way to change folder permissions from PHP without using FTP?
body: <p>Is there a way to change folder permissions from PHP without using FTP?
  I'm creating new folders on server automatically, but i cannot move the uploaded file in it because of the folder permissions. Do you have any idea that I can change the permission of the folder without using FTP?</p>