RE: Writing to a file

RE: Writing to a file

am 26.02.2006 03:30:33 von Bastien Koert

www.php.net/fwrite

bastien


>From: "Ron Piggott (PHP)"
>Reply-To: ron.php@actsministries.org
>To: PHP DB
>Subject: [PHP-DB] Writing to a file
>Date: Sat, 25 Feb 2006 21:42:25 -0500
>
>I wonder if someone would tell me the command in PHP that allows me to
>write to a file --- for example "test.txt" Just for this example I
>would like the word "apple" to be the contents of "test.txt"
>
>Now if I want to re-create "test.txt" --- erasing all the contents and
>start over and this time have the word "orange" in it how would you do
>this?
>
>What commands do you use?
>
>Thanks for your help.
>
>Ron
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Writing to a file

am 26.02.2006 03:42:25 von Ron Piggott

I wonder if someone would tell me the command in PHP that allows me to
write to a file --- for example "test.txt" Just for this example I
would like the word "apple" to be the contents of "test.txt"

Now if I want to re-create "test.txt" --- erasing all the contents and
start over and this time have the word "orange" in it how would you do
this?

What commands do you use?

Thanks for your help.

Ron

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php