2081 7

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...

Up nextDescribe the concepts of display_errors, variables_order and request_order in PHP.ini Sett