Learn how to Open a file and edit a file in PHP!

Learn how to open an existing file and edit the file using PHP function.

DOWNLOAD THE SCRIPT AT THE BOTTOM

fopen() is the function which help us to read, write and append text file.

fopen(‘filename.txt’, ‘r’) – allows to read …