Re: reading lines from a file
| From: | Ignatius Reilly | Date: | Tue, 11 Feb 2003 14:28:01 +0000 |
| Subject: | Re: reading lines from a file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18465@lists.php.net to get a copy of this message | ||
Hi Mr Svensson ,
I trust that I am not the only one to be curious to learn more concerning
your remark.
I routinely parse files similar to those of Mr Pitcher, using PHP from the
Windows command line.
So far I have never had any problem generating CSV files containing about a
million rows (Celeron 750, 256 MB).
Would you care to explain in more details why PHP is a MUST DON'T to do
this?
Thanks
Ignatius
____________________________________________
----- Original Message -----
From: "Svensson, B.A.T. (HKG)" <B.A.T.Svensson@lumc.nl>
To: <php-windows@lists.php.net>
Sent: Tuesday, February 11, 2003 3:04 PM
Subject: RE: [PHP-WIN] reading lines from a file
> You DON'T parse large record based file with a web scripting language.
> It is as bad recommendation to suggest it. And you just don't do that.
>
> > -----Original Message-----
> > From: Jill.Ramonsky@Aculab.com [mailto:Jill.Ramonsky@Aculab.com]
> > Sent: Tuesday, February 11, 2003 1:27 PM
> > To: php-windows@lists.php.net
> > Subject: RE: [PHP-WIN] reading lines from a file
> >
> >
> > Yes
> >
> > fgets()
> > It's in the section Filesystem functions. (What a surprise)
> >
> > You might like the function file() also.
> >
> > Jill
> >
> > -----Original Message-----
> > From: George Pitcher [mailto:george.pitcher@ingenta.com]
> > Sent: Tuesday, February 11, 2003 12:25 PM
> > To: Chris Kranz; php-windows@lists.php.net
> > Subject: RE: [PHP-WIN] reading lines from a file
> >
> >
> > Chris,
> >
> > I couldn't find any readline function in the manual - did I miss it?
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>