F5224 Web Programming: File Handling With PHP
F5224 Web Programming: File Handling With PHP
Deleting files
The PHP unlink() function permanently deletes the files specified as its argument (if it is a valid file name)
w+
a+
Reading a file
A file can be opened with the fopen() function A file can then be read with a function called fread() A files length can be found using the filesize() function fclose() function used to close file.
THE END