This document lists common PHP file functions including fopen to open a file, fclose to close a file, fsockopen to open a socket, feof to check for end of file, fread to read from a file, fgets and fgetc to read a line or character from a file, stat to get file status, and file_get_contents to read a file into a string.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
31 views
File Function
This document lists common PHP file functions including fopen to open a file, fclose to close a file, fsockopen to open a socket, feof to check for end of file, fread to read from a file, fgets and fgetc to read a line or character from a file, stat to get file status, and file_get_contents to read a file into a string.