PHP/file/io: Difference between revisions

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

Template:Fmt/title

Template:Box/navThis is a quick index to information about accessing files in PHP.

Functions