PHP fclose() Function

The fclose() function is used to close an open file:

<?php
$file = fopen("test.txt","r");

//some code to be executed

fclose($file);
?>

No comments:

Post a Comment