PHP ftp_chmod() FunctionThe ftp_chmod() function is used to set permissions on a specified remote file via FTP. This function was introduced in PHP 5. Syntax:
ReturnsThis method returns the new file permissions on success or FALSE on error. Example 1ExplanationIn the above program, we change the permission of file by using chmod() function and 644 means that files are readable and writeable by the owner of the file and readable by users in the group owner of that file and readable by everyone else. Example 2ExplanationIn the above example, file permission change to 644 to 755.755, it means full permissions for the owner and read and execute permission for others. Next TopicPHP FTP |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India