PHP Script Tips - Reading and Writing Files
A collection of 14 tips on PHP functions on file input and output. Clear answers are provided with tutorial exercises on opening files for reading and writing, appending data to existing files, reading file by line or character, reading file in binary mode. Special topics are: How To Append New Data to the End of a File? How To Read One Character from a File? How To Read a File in Binary Mode? How To Read Data from Keyborad (Standard Input)? How To Open Standard Output as a File Handle?