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 3: Line 3:
==Functions==
==Functions==
* [https://www.php.net/manual/en/ref.filesystem.php Filesystem Functions]
* [https://www.php.net/manual/en/ref.filesystem.php Filesystem Functions]
** <code>[https://www.php.net/manual/en/function.file-get-contents file_get_contents()]</code>
** <code>[https://www.php.net/manual/en/function.file.php file()]</code>: read entire text file into an array (by line)
** <code>[https://www.php.net/manual/en/function.file-get-contents file_get_contents()]</code>: read entire text file into a string
** <code>[https://www.php.net/manual/en/function.file-put-contents file_put_contents()]</code>
** <code>[https://www.php.net/manual/en/function.file-put-contents file_put_contents()]</code>
** file-handle functions:
** file-handle functions:

Revision as of 21:13, 13 August 2023

Template:Fmt/title

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

Functions