note 114396 added to function.fseek

From: Date: Sat, 15 Feb 2014 17:23:44 +0000
Subject: note 114396 added to function.fseek
Groups: php.notes 
Request: Send a blank email to php-notes+get-198520@lists.php.net to get a copy of this message
Opening the file in a+ mode doesn't work with fseek either, unfortunately. If you want a file created and then want be able to go to any position in the file, you'll have to use append mode when opening the file, then close it, then open it again in r+. ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/function.fseek.php Edit -- https://master.php.net/note/edit/114396 Del: integrated -- https://master.php.net/note/delete/114396/integrated Del: useless -- https://master.php.net/note/delete/114396/useless Del: bad code -- https://master.php.net/note/delete/114396/bad+code Del: spam -- https://master.php.net/note/delete/114396/spam Del: non-english -- https://master.php.net/note/delete/114396/non-english Del: in docs -- https://master.php.net/note/delete/114396/in+docs Del: other reasons-- https://master.php.net/note/delete/114396 Reject -- https://master.php.net/note/reject/114396 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198520) next »