The PHP scandir function will return an indexed array of the files and directories within the specified directory path.
Leer mas..Just as on Linux, chown (change owner) in PHP changes the owner of the specified file or directory.
Leer mas..Today we will see what the PHP function chgrp does. In this post, we will deviate a little from what is given on php.net. Why? This is because PHP, in many of its naming conventions, draws from those of Linux, and I believe that a better explanation is to talk about both.
Leer mas..The dirname() function allows us to obtain the path of parent directories based on the specified path and level.
Leer mas..The basename() function returns the name of the last element in the given path. The suffix option allows us to remove any suffix it has.
Leer mas..Last 4 post in same category