Writing to a file
| From: | PHP) | Date: | Sun, 26 Feb 2006 02:42:25 +0000 |
| Subject: | Writing to a file | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41325@lists.php.net to get a copy of this message | ||
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