Re: Problem with file()
| From: | Justin Blake | Date: | Wed, 17 Apr 2002 01:53:04 +0000 |
| Subject: | Re: Problem with file() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93265@lists.php.net to get a copy of this message | ||
Zambra - Michael wrote:
>
> What kind of line ending does the file() function include in the array
> elements. I'm having problem with file() combined with implode() when
> reading in complete HTML files in a Windows environment. After parsing
these
> resulting strings I get tons of white lines (??).
>
> I'd appreciate any advice.
When it puts each line into the array, the newline is still attached,
so if you are adding more newlines when parsing this could be the problem.
Justin