Close an open file in PHP
Description
The following code shows how to close an open file.
Example
/*from www .ja v a2 s .co m*/
<?php
$file = fopen("test.txt","r");
//some code to be executed
fclose($file);
?>
The following code shows how to close an open file.
/*from www .ja v a2 s .co m*/
<?php
$file = fopen("test.txt","r");
//some code to be executed
fclose($file);
?>