Difference between revisions of "PHP/file/io"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
*** <code>[https://www.php.net/manual/en/function.fgets fgets()]</code>: read a line | *** <code>[https://www.php.net/manual/en/function.fgets fgets()]</code>: read a line | ||
*** <code>[https://www.php.net/manual/en/function.fopen fopen()]</code>: open handle to file | *** <code>[https://www.php.net/manual/en/function.fopen fopen()]</code>: open handle to file | ||
+ | *** ''<code>[https://www.php.net/manual/en/function.fputs.php fputs()]</code> is just an alias of <code>[https://www.php.net/manual/en/function.fwrite fwrite()]</code>'' | ||
*** <code>[https://www.php.net/manual/en/function.fputcsv fputcsv()]</code>: write a line in [[CSV]] format | *** <code>[https://www.php.net/manual/en/function.fputcsv fputcsv()]</code>: write a line in [[CSV]] format | ||
*** <code>[https://www.php.net/manual/en/function.fread fread()]</code>: binary-safe read | *** <code>[https://www.php.net/manual/en/function.fread fread()]</code>: binary-safe read |
Revision as of 15:30, 2 August 2022
PHP file access functionality
|
PHP File fx() |
This is a quick index to information about accessing files in PHP.
Functions
- Filesystem Functions
- File System Related Extensions: also includes filesystem-related extensions