PHP Tutorial File Read Save
Read
- Get 1024 character from a file and keep paragraph and bold tag in PHP
- Get a file into an array in PHP
- Get a line from an open file in PHP
- Get a line, with HTML and PHP tags removed, from an open file in PHP
- Get a single character from an open file in PHP
- Get a web page into a string in PHP
- Parse a line from an open file, checking for CSV fields in PHP
- Parse input from a file according to a format in PHP
- Read a file and write it to the output buffer in PHP
- Read a file into a string with file_get_contents in PHP
- Read a file into an array in PHP
- Read all data from current position in file, until EOF, and writes the result to the output buffer in PHP
- Read entire file into a string in PHP
- Read file character by character in PHP
- Read file line by line in PHP
- Read from an open file in PHP
- Rewinds the position of the file pointer to the beginning of the file in PHP
- Seek in an open file in PHP
- Test for end-of-file on a file pointer in PHP
Write
- Store the MD5 hash of " test.txt " in a file in PHP
- Store the SHA-1 hash of " test.txt " in a file in PHP
- Wites to an open file in PHP
- Write a string to a file in PHP
- Write all buffered output to an open file in PHP
- Write formated to a text file named " test.txt " in PHP
- Write some text to a file with fprintf in PHP
- Write strings into a new file called " test.txt " in PHP
- Write to an open file in PHP
- Write to and read from file in PHP