> -----Original Message-----
> From: Jay Lepore [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 06, 2001 7:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] FILE () STRIPS BLANKS FROM THE ARRAY - HOW CAN
> I STOP IT
>
>
> I have an ASCII fixed width text file I'm trying to convert
> to an array of fields. But I need to keep the spaces intact
> so I know exactly where one field ends and another begins.
>
> Do you know of any way to modify the default behavior of
> file() which strips the blanks spaces out when returning the
> array?
I haven't ever seen file() work that way. Are you sure this isn't a
simple case of the web browser collapsing whitespace when displaying an
HTML page? (Hint: "view source" is your friend when you're wanting to
see exactly what the output of your script was.)
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger
--
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]