Re: fsockopen help!
| From: | Joseph H Blythe | Date: | Mon, 28 Aug 2000 02:00:00 +0000 |
| Subject: | Re: fsockopen help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13879@lists.php.net to get a copy of this message | ||
Jason Murray wrote:
> > Let me put this another way how do I append to a variable
> > during a while loop?
> >
> > example;
> >
> > while ( !feof($fp) ) {
> > $buffer = fgetc($fp);
> > }
> >
> > I want to append to $buffer not overwrite it each cycle of
> > the while loop?
>
> while ( !feof($fp) )
> {
> $buffer .= fgetc($fp);
> ^^^
> }
>
ah! the old .
Ta :-)
Joseph