Re: Files question
| From: | Bas | Date: | Thu, 30 Oct 2003 14:17:16 +0000 |
| Subject: | Re: Files question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168152@lists.php.net to get a copy of this message | ||
Now sorry... I already know to use fopen... I want a script that parses all
lines from a file... Just like a loop that with every time it is executed,
it echos a line from the file... (this is just a example... else i was using
file_get_contents and nl2br...)
"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message
news:C8F323573C030A448F3E5A2B6FE2070B01AFA9BC@nemesis...
[snip]
How can i read all files line by line? I am running windows. I know that
there is then a \r\n but i don't know how to extract them... Can you
help
me?
[/snip]
start with http://www.php.net/fopen