PHP ftell() Function

The ftell() function returns the current position in an open file.Returns the current file pointer position, or FALSE on failure.

int ftell ( resource $handle )

Returns the position of the file pointer referenced by handle.

Example -

ParameterDescription
fileRequired. Specifies the open file to check