Skip to content

Tag Archives: PHP-file-handling

The zip_entry_compressedsize() function is an inbuilt function in PHP which is used to return the size of the compressed file in zip archive entry. It… Read More
The zip_entry_close() function is an inbuilt function in PHP which is used to close a zip archive opened by the zip_entry_open() function. The zip_entry_close() causes… Read More
The sha1_file() function is an inbuilt function in PHP which is used to generate the SHA-1 hash of the text file. This function returns a… Read More
The readdir() function in PHP is an inbuilt function which is used to return the name of the next entry in a directory. The method… Read More
The rewinddir() function is an inbuilt function in PHP which is used to rewind the directory handle. The rewinddir() function opens a directory and list… Read More
The zip_close() function is an inbuilt function in PHP which is used to close a zip archive file opened by the zip_open() function. The zip_close()… Read More
The opendir() function in PHP is an inbuilt function which is used to open a directory handle. The path of the directory to be opened… Read More
The dir() function in PHP is an inbuilt function which is used to return an instance of the Directory class. The dir() function is used… Read More
The closedir() function in PHP is an inbuilt function which is used to close a directory handle. The directory handle to be closed is sent… Read More
The chroot() function in PHP is an inbuilt function which is used to change the root directory of the current process to directory. The chroot()… Read More
The md5_file() function is an inbuilt function in PHP which is used to generate the md5 hash value of a given file. This function returns… Read More
The getcwd() function in PHP is an inbuilt function which is used to return the current working directory. This function does not accepts any parameter… Read More
The scandir() function in PHP is an inbuilt function which is used to return an array of files and directories of the specified directory. The… Read More
The fwrite() function in PHP is an inbuilt function which is used to write to an open file. The fwrite() function stops at the end… Read More
The ftruncate() function in PHP is an inbuilt function which is used to truncate(shorten) an open file to the specified length. The file and the… Read More