FW: [PHP] fwrite() Append Files
| From: | Chris Scott | Date: | Fri, 27 Jun 2008 11:10:01 +0000 |
| Subject: | FW: [PHP] fwrite() Append Files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-276034@lists.php.net to get a copy of this message | ||
Please post the code, I'm not clear on the problem.
-----Original Message-----
From: Wei, Alice J. [mailto:ajwei@indiana.edu]
Sent: Friday, June 27, 2008 12:02 PM
To: php-general@lists.php.net
Subject: [PHP] fwrite() Append Files
Hi,
I wonder if anyone on the list could tell me how to append the files
as I am writing in them. I have a file that has no more than five
characters per line, and I would like to keep its spacing between the
lines. Right now I have the set up so that it could write in the first
line, but the problem is that all the lines after it never get written
in to the desired file.
Is there some sort of command that I could use to append files as I am
writing them? I would provide the code if this is not clear enough.
Thanks in advance.
Alice
======================================================
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
ajwei@indiana.edu