Hi,

Thanks for the reply. I appreciate your help. fgets() reads to the EOF; not the
EOL. Is there something similar to fgets() that I can use? Perhaps where I can
state explicity read the file until you encounter and EOL char?

Cheers,
Lee

Matt Vos wrote:

> Loop an fgets()
>
> i.e.
> $fp = fopen($file)
> while ($filerow = fgets($fp,1024)) /* Read 1024 bytes or to EOL, whichever
> is first) */
> {

--
Lee P. Reilly,                                          ms:G758
Szilard Resource,                              tel:505-665-7025
Bioscience Division,
SM-30 Bikini Atoll Rd,
Los Alamos National Laboratory,         mailto:[EMAIL PROTECTED]
Los Alamos, NM 87545.              http://home.lanl.gov/lreilly

          "Quidquid latine dictum sit, altum viditur"

-._    _.--'"`'--._    _.--'"`'--._    _.--'"`'--._    _
    '-:`.'|`|"':-.  '-:`.'|`|"':-.  '-:`.'|`|"':-.  '.` : '.
  '.  '.  | |  | |'.  '.  | |  | |'.  '.  | |  | |'.  '.:   '.  '.
  : '.  '.| |  | |  '.  '.| |  | |  '.  '.| |  | |  '.  '.  : '.  `.
  '   '.  `.:_ | :_.' '.  `.:_ | :_.' '.  `.:_ | :_.' '.  `.'   `.
         `-..,..-'       `-..,..-'       `-..,..-'       `         `



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to