Re: note 9441 added to rewind
| From: | J. M. Castagnetto | Date: | Fri, 03 Nov 2000 23:51:23 +0000 |
| Subject: | Re: note 9441 added to rewind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7368@lists.php.net to get a copy of this message | ||
Read the entry for fopen(). Do not post support
requests to the notes to the online manual.
Your msg has been removed.
--- d99majo@dtek.chalmers.se wrote:
> Why cant I use rewind when I want to write at the
> beginning of a file..
> $fp = fopen (basename($PHP_SELF) . ".comment",
> "a");
> rewind ($fp);
> fwrite ($fp , $message);
> fclose ($fp);
> doesnt work... the message will still be at the
> end...
>
> http://www.php.net/manual/function.rewind.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/