RE: [PHP] fwrite() Append Files

2008-06-27 Thread Wei, Alice J.
From: Wolf [EMAIL PROTECTED] Sent: Friday, June 27, 2008 2:18 PM To: Wei, Alice J. Cc: php-general@lists.php.net Subject: Re: [PHP] fwrite() Append Files Wei, Alice J. wrote: > Hi, > > Right now I enforced the file to read in through HTTP-Re

Re: [PHP] fwrite() Append Files

2008-06-27 Thread Wolf
Wei, Alice J. wrote: Hi, Right now I enforced the file to read in through HTTP-Request and output it to a local file. Looks like this functioned perfectly after I used append functions after I attempted to write to the file! Thanks to everyone who contributed to this. Alice Are you mak

RE: [PHP] fwrite() Append Files

2008-06-27 Thread Wei, Alice J.
@lists.php.net Subject: Re: [PHP] fwrite() Append Files Jim Lucas wrote: > Wei, Alice J. wrote: >> Hi, >> >> This is my current code: >> >>$lines = file("http://www.mysite.com/hello.txt";); >> >>$file="http://www.mysite.com/hello.txt";; &g

Re: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Jim Lucas
Boyd, Todd M. wrote: -Original Message- From: Chris Scott [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2008 8:48 AM To: php-general@lists.php.net Subject: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files Importance: Low I don't think you can open files for writing over http, yo

Re: [PHP] fwrite() Append Files

2008-06-27 Thread Jim Lucas
d Information Science Indiana University Bloomington [EMAIL PROTECTED] ________ From: Per Jessen [EMAIL PROTECTED] Sent: Friday, June 27, 2008 8:26 AM To: php-general@lists.php.net Subject: Re: [PHP] fwrite() Append Files Wei, Alice J. wrote: Hi, I wonder if anyone o

Re: [PHP] fwrite() Append Files

2008-06-27 Thread Jim Lucas
University Bloomington [EMAIL PROTECTED] ________ From: Per Jessen [EMAIL PROTECTED] Sent: Friday, June 27, 2008 8:26 AM To: php-general@lists.php.net Subject: Re: [PHP] fwrite() Append Files Wei, Alice J. wrote: Hi, I wonder if anyone on the list could tell me how to app

[PHP] FW: [SPAM] RE: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Chris Scott
>> -Original Message- >> From: Chris Scott [mailto:[EMAIL PROTECTED] >> Sent: Friday, June 27, 2008 8:48 AM >> To: php-general@lists.php.net >> Subject: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files >> Importance: Low >> >> I don'

RE: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Boyd, Todd M.
> -Original Message- > From: Chris Scott [mailto:[EMAIL PROTECTED] > Sent: Friday, June 27, 2008 8:48 AM > To: php-general@lists.php.net > Subject: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files > Importance: Low > > I don't think you can open files for

[PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Chris Scott
bject: [SPAM] RE: [PHP] fwrite() Append Files Importance: Low Wei, Alice J. wrote: > > Do you mean to edit $ourFileHandle to fopen($ourFileName, 'wba')? > I think fopen($ourFileName, 'a') will do what you want. /Per Jessen, Zürich -- PHP General Mailing List (h

Re: [PHP] fwrite() Append Files

2008-06-27 Thread Daniel Brown
On Fri, Jun 27, 2008 at 7:01 AM, Wei, Alice J. <[EMAIL PROTECTED]> wrote: > 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 lin

RE: [PHP] fwrite() Append Files

2008-06-27 Thread Per Jessen
Wei, Alice J. wrote: > > Do you mean to edit $ourFileHandle to fopen($ourFileName, 'wba')? > I think fopen($ourFileName, 'a') will do what you want. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] fwrite() Append Files

2008-06-27 Thread Wei, Alice J.
EMAIL PROTECTED] ____________ From: Per Jessen [EMAIL PROTECTED] Sent: Friday, June 27, 2008 8:26 AM To: php-general@lists.php.net Subject: Re: [PHP] fwrite() Append Files Wei, Alice J. wrote: > Hi, > > I wonder if anyone on the list could tell me how to app

Re: [PHP] fwrite() Append Files

2008-06-27 Thread Per Jessen
Wei, Alice J. wrote: > 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 c

Re: [PHP] fwrite() Append Files

2008-06-27 Thread Wolf
Wei, Alice J. wrote: 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

Re: FW: [PHP] fwrite() Append Files

2008-06-27 Thread Stijn Verholen
, I'm not clear on the problem. -Original Message- From: Wei, Alice J. [mailto:[EMAIL PROTECTED] 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 wr

FW: [PHP] fwrite() Append Files

2008-06-27 Thread Chris Scott
Please post the code, I'm not clear on the problem. -Original Message- From: Wei, Alice J. [mailto:[EMAIL PROTECTED] 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 a

[PHP] fwrite() Append Files

2008-06-27 Thread Wei, Alice J.
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