Hey Alice,
Are you sure you can do this with vanilla flavor PHP ?
Your professor could be mistaking on this particular assignment.
Maybe some kind of webservice could do the trick. ASP.net is really good
at handling file I/O.
Kind regards,
Stijn
Chris Scott wrote:
Please post the code, I'm not clear on the problem.
-----Original Message-----
From: Wei, Alice J. [mailto:ajwei@xxxxxxxxxxx]
Sent: Friday, June 27, 2008 12:02 PM
To: php-general@xxxxxxxxxxxxx
Subject: 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@xxxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php