note 7206 deleted from ftell by ronabop

From: Date: Mon, 02 Oct 2000 10:55:26 +0000
Subject: note 7206 deleted from ftell by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5905@lists.php.net to get a copy of this message
Deleting a line from a file: After reading $line from $file do: $pos = strlen($line); fseek($file,-($pos+1),SEEK_CUR); while ($pos > 0) { $pos -= 1; fputs($file, " "); }

« previous php.notes (#5905) next »