Re: Beginner question?

From: Date: Fri, 21 Dec 2001 12:48:14 +0000
Subject: Re: Beginner question?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-78449@lists.php.net to get a copy of this message
At 01:59 AM 12/21/2001 -0500, jtjohnston wrote:
Michael, $fp = fopen ("./users.txt", "r"); while (!feof ($fp)) { $buffer = fgets($fp, 4096); echo $buffer; } fclose($fp); Ok. But $buffer is not an array, is it? Why/what is 4096? What is !feof ?
Don't you have access to the WWW? You need to follow the link I gave you and actually READ it. Your first two questions are answered here: http://www.php.net/manual/en/function.fgets.php And your next one here: http://www.php.net/manual/en/function.feof.php

« previous php.general (#78449) next »