Web Technology II20815 marksFile reading operations
Write a PHP program to read a file.
Write a PHP program to read a file. [5]
--- There are several ways to read a file in PHP. Below are the common approaches: --- --- --- --- Function Description ------ fopen($file, "r") Opens a file in read mode fgets($file) Reads one line from the file feof($file) Returns true if end of file is reached fclose($file) Closes the opened f...