Skip to content

Tag Archives: PHP-file-handling

In this article, we will see how to read the entire file into a string using the file_get_contents() function, along with understanding their implementation through… Read More
The filemtime() function in PHP is an inbuilt function which is used to return the last time of a specified file when its content was… Read More
The fileatime() function in PHP is an inbuilt function which is used to return the last access time of a specified file. The fileatime() function… Read More
The filectime() function in PHP is an inbuilt function which is used to return the last time the specified file was changed. The filectime() function… Read More
The file_exists() function in PHP is an inbuilt function which is used to check whether a file or directory exists or not. The path of… Read More
The file_put_contents() function in PHP is an inbuilt function which is used to write a string to a file. The file_put_contents() function checks for the… Read More
The fgetc() function in PHP is an inbuilt function which is used to return a single character from an open file. It is used to… Read More
The feof() function in PHP is an inbuilt function which is used to test for the end-of-file on a file pointer. It checks if the… Read More
The fclose() function in PHP is an inbuilt function which is used to close a file which is pointed by an open file pointer. The… Read More
The dirname() function in PHP is an inbuilt function which is used to return the directory name of a given path. The dirname() function is… Read More
The copy() function in PHP is an inbuilt function which is used to make a copy of a specified file. It makes a copy of… Read More
The chgrp() function in PHP is an inbuilt function that is used to change the user group of the specified file. It returns true on… Read More
The chown() function in PHP is an inbuilt function which is used to change the owner of the specified file. It returns true on success… Read More
The basename() function in PHP is an inbuilt function which is used to return the base name of a file if the path of the… Read More

Start Your Coding Journey Now!