Re: FW: [PHP] fwrite() Append Files
| From: | Stijn Verholen | Date: | Fri, 27 Jun 2008 11:34:07 +0000 |
| Subject: | Re: FW: [PHP] fwrite() Append Files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276037@lists.php.net to get a copy of this message | ||
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@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