Re: question..
| From: | Tyler Longren | Date: | Wed, 16 Aug 2000 17:03:38 +0000 |
| Subject: | Re: question.. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12059@lists.php.net to get a copy of this message | ||
fputs("text.txt",$text, a+);
that should write it to the end
The a stands for append and the + means that if the file doesn't exist,
creat it.
Tyler
On Wed, 16 Aug 2000, Tauntz wrote:
> Date: Wed, 16 Aug 2000 18:51:30 +0300
> To: <php-general@lists.php.net>
> From: "Tauntz" <tauntz@hot.ee>
> Subject: [PHP] question..
>
> Hello :)
>
> fputs("text.txt",$text); writes the $text to the beginning of the file
> how can I write text to end of a file ???
>
> tauntz
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
Tyler Longren
[Web Development]
Premier Visual Services
http://www.pvs2000.com