note 93391 added to function.ftell

From: Date: Mon, 07 Sep 2009 20:38:01 +0000
Subject: note 93391 added to function.ftell
Groups: php.notes 
Request: Send a blank email to php-notes+get-160282@lists.php.net to get a copy of this message
When opening a file to append via fopen('file','ab') the file pointer should be at the end of the file. However ftell() returns int(0) even if the file is not empty and even after writing some text into the file. ---- Server IP: 69.147.83.197 Probable Submitter: 92.75.161.83 ---- Manual Page -- http://www.php.net/manual/en/function.ftell.php Edit -- https://master.php.net/note/edit/93391 Del: integrated -- https://master.php.net/note/delete/93391/integrated Del: useless -- https://master.php.net/note/delete/93391/useless Del: bad code -- https://master.php.net/note/delete/93391/bad+code Del: spam -- https://master.php.net/note/delete/93391/spam Del: non-english -- https://master.php.net/note/delete/93391/non-english Del: in docs -- https://master.php.net/note/delete/93391/in+docs Del: other reasons-- https://master.php.net/note/delete/93391 Reject -- https://master.php.net/note/reject/93391 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160282) next »