ftell

ftell

(PHP 4, PHP 5, PHP 7)

ftellReturns the current position of the file read/write pointer

Description

int ftell ( resource $handle )

Returns the position of the file pointer referenced by handle.

Parameters

handle

The file pointer must be valid, and must point to a file successfully opened by fopen() or