0% 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.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% 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.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

fopen
2. fclose
3. fsockopen
4. feof
5. fread
6. readfile
7. filesize
8. ftruncate
9. fgets
10. fgetc
11. fgetss
12. stat
13. file_get_contents
14.

You might also like