Closing a file

Keywords: $fclose Syntax: $fclose(handle);

When using many files, it is normally a good idea to close any files that are no longer in use. Once a file has been closed using $fclose it cannot be written to and another file can then use the handle.


previous next contents