Category: 07. File Handling

  • Read File

    here are a number of options in PHP for reading data from a file that has been opened with the fopen() function. The following built-in functions in PHP’s library can help us perform the read operation − The fgets() Function The fgets() function can return a line from an open file. This function stops returning on a…