Well, this is exactly what function file() does.

"David Christensen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When PHP reads from a file using fgets(), does it do it in order?
> Meaning, when reading STDIN from a file, does it read line1, then line2,
> line3, and so on until EOF?
>
> My purpose is to read each line of file and push it into an array.
>
> Thanks for your help,
>
> Dave
>
>
>
>



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

Reply via email to