File Handling Operations using fopen(), fread() and fwrite().

In Php, File handling is used to create a file, reading file content, writing into a file and closing the file.

Code :