note 38629 added to function.fwrite
| From: | ejohns_21 at yahoo dot com | Date: | Tue, 30 Dec 2003 21:54:06 +0000 |
| Subject: | note 38629 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62698@lists.php.net to get a copy of this message | ||
I am trying to open a file and replace a certain character in that file with a different character.
How would I scan all the way through the file, then replace all of the characters to the end of the
file? The character is "|" and I'm trying to replace it with "|~". Thanks
any help is appreciated.
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38629
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38629&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38629&report=yes
Search -- http://master.php.net/manage/user-notes.php