fpassthru

It outputs all remaining data on a file pointer

Example

<?php

$fp = @fopen(“test.txt”, “r”);

fpassthru($fp);

?>

Share