PHP Tutorial File Read Save

Read

  1. Get 1024 character from a file and keep paragraph and bold tag in PHP
  2. Get a file into an array in PHP
  3. Get a line from an open file in PHP
  4. Get a line, with HTML and PHP tags removed, from an open file in PHP
  5. Get a single character from an open file in PHP
  6. Get a web page into a string in PHP
  7. Parse a line from an open file, checking for CSV fields in PHP
  8. Parse input from a file according to a format in PHP
  9. Read a file and write it to the output buffer in PHP
  10. Read a file into a string with file_get_contents in PHP
  11. Read a file into an array in PHP
  12. Read all data from current position in file, until EOF, and writes the result to the output buffer in PHP
  13. Read entire file into a string in PHP
  14. Read file character by character in PHP
  15. Read file line by line in PHP
  16. Read from an open file in PHP
  17. Rewinds the position of the file pointer to the beginning of the file in PHP
  18. Seek in an open file in PHP
  19. Test for end-of-file on a file pointer in PHP

Write

  1. Store the MD5 hash of " test.txt " in a file in PHP
  2. Store the SHA-1 hash of " test.txt " in a file in PHP
  3. Wites to an open file in PHP
  4. Write a string to a file in PHP
  5. Write all buffered output to an open file in PHP
  6. Write formated to a text file named " test.txt " in PHP
  7. Write some text to a file with fprintf in PHP
  8. Write strings into a new file called " test.txt " in PHP
  9. Write to an open file in PHP
  10. Write to and read from file in PHP




















Home »
  PHP Tutorial »
    File »




Directory
DirectoryIterator
Drive
File
File Permission
File Read Save
FileSystemIterator
Path
Zip