Syntax
int ftell(file_handle)
Code <?php $file=fopen("roseindia.txt","r"); echo ftell($file); fseek($file,40); echo "<br>".ftell($file); ?>
Output 0 40
Related Tags for PHP function ftell() with example: