Skip to content

Tag Archives: PHP-file-handling

The is_writable() function in PHP used to check whether the specified file is writable or not. The name of the file is sent as a… Read More
The popen() function used to open a pipe to the program specified by the user using the command parameter. It returns a file pointer which… Read More
The chdir() function in PHP used to change PHP’s current directory to new directory path. It takes only a single argument as new directory path.… Read More
The link() creates a hard link for a specified target. The target and the link are passed as parameters to the link() function and it… Read More
The mkdir() creates a new directory with the specified pathname. The path and mode are sent as parameters to the mkdir() function and it returns… Read More
The pclose() closes a pipe opened by the popen() function. The file pointer initiated by the popen() function must be closed with pclose(). The pipe… Read More
The readfile() function in PHP is an inbuilt function which is used to read a file and write it to the output buffer. The filename… Read More
The realpath() function in PHP is an inbuilt function which is used to return the canonicalized absolute pathname. The realpath() function removes all symbolic links… Read More
The rename() function in PHP is an inbuilt function which is used to rename a file or directory. It makes an attempt to change an… Read More
How does the PHP file handle know some basic information like file-name, file-size, type of the file and a few attributes about the file which… Read More
The unlink() function is an inbuilt function in PHP which is used to delete files. It is similar to UNIX unlink() function. The $filename is… Read More
Have you ever wondered how websites build their system of file uploading in PHP? Here we will come to know about the file uploading process.… Read More
The fileperms() function in PHP is an inbuilt function which is used to return the permissions given to a file or a directory. The filename… Read More
The filesize() function in PHP is an inbuilt function which is used to return the size of a specified file. The filesize() function accepts the… Read More
The filetype() function in PHP is an inbuilt function which is used to return the file type of a specified file or a directory. The… Read More

Start Your Coding Journey Now!