Advertisement
asadsuman

File-Handling-function-PHP

Feb 3rd, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <!--List of file handling function in PHP -->
  2. 1.fopen() - open files
  3. 2.fwrite() - write in fiels
  4. 3.fclose() - close files
  5. 4.fread() - read files
  6. 5.opendir() - open directory
  7. 6.readdir() - read directory
  8. 7.file_exists() - check if the files exist
  9. 8.unlike() - Deleting files
  10. 9.rename() - Rename the files name
  11. 10.move_uploaded_file('old / tmp location','new location'.fileName)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement