RE: [PHP] fsockopen help!
| From: | Jason Murray | Date: | Mon, 28 Aug 2000 02:52:38 +0000 |
| Subject: | RE: [PHP] fsockopen help! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13878@lists.php.net to get a copy of this message | ||
> 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);
^^^
}
;)
Jason