File Handling in PHP
PHP file handling allow to create file, read file line by line, read file character by character, write file, append file, delete file and close file.
fopen() :- PHP Open File
PHP fopen() function is used to open a file.
First create a text file in Notepad and save sarkarirest.text some content like that