fseek

It seeks on a file pointer

Example

<?php

$fp = fopen(‘test.txt’, ‘r’);

$data = fgets($fp, 2048);

fseek($fp, 0);

?>

Share