How to use Filesystem fclose in PHP
In this article I am going to explain about fclose function in PHP.
PHP fclose() function
The filesystem fclose function is used to closes an open file pointer.
Syntax of fclose function
Parameters in fclose function
It has only one parameter:
Parameter |
Description |
filename |
It specifies filename to close. |
Example of filesystem fclose function
<html>
<body>
<?php
$closeFile = fopen('C:\wamp\www\Dinesh\Mcn.txt', 'r');
fclose($closeFile);
?>
</body>
</html>
|
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here