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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to