Returns the position of the file pointer referenced by
handle; i.e., its offset into the
file stream.
If an error occurs, returns FALSE.
The file pointer must be valid, and must point to a file
successfully opened by fopen() or
popen().
ftell() gives undefined results for append-only streams
(opened with "a" flag).
Example 1. ftell() example
<?php
// opens a file and read some data $fp = fopen("/etc/passwd", "r"); $data = fgets($fp, 12);
ftell php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php ftell syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.