Difference between revisions of "PHP/file/io"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< PHP‎ | file
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