Home » Interview » Technology

Explain how to work with Permissions in PHP.

Correct Answer: Permissions in PHP are very similar to UNIX Each file has three types of permissions – Read, write and execute Permissions can be changed using the change mode or CHMOD command CHMOD is followed by 3 digit number specifying the permission type CHMOD 777 is for Read, Write and execute Unnecessary permissions can be stripped off using UNMASK command Unmask (777);

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion