What is fclose() in PHP?
By Abhijit Paul
What is fclose() in PHP?????
Teacher SiliconIndia replied to Abhijit Paul Wednesday, March 17, 2010
Hi Abhijit,
The fclose() function is used to close an open file:
<?php
$file = fopen("test.txt","r");
some code to be executed
fclose($file);
?>