RE: [PHP-WIN] reading lines from a file

2003-02-12 Thread Neil Smith
f possibly redundant fields. HTH - my 2cv err - 2c lol Neil Smith. At 23:59 11/02/2003 +, you wrote: From: "George Pitcher" <[EMAIL PROTECTED]> To: "Chris Kranz" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: Tue, 11 Feb 2003 12:25:14 -0000 Subject

RE: [PHP-WIN] reading lines from a file

2003-02-12 Thread Svensson, B.A.T. (HKG)
> Cheer up and be confident in the judgement of the > respectively responsible. There are aspects to consider > unmentioned and irrelevant w/resp to this NG. So I'd > suggest to keep cool. Basically I don't care how people implement things: as long as I don't have to clean it up. So it not my bus

RE: [PHP-WIN] reading lines from a file

2003-02-12 Thread Svensson, B.A.T. (HKG)
> Maybe you should Read The Fine Manual, Anders? :-) I don't need that, because I don't use PHP. ;) > But then again, doing the parser would be a much more time-consuming > process. And even worse, we're on the wrong mailing list for that... :) I guess you are quite right on that one too. --

RE: [PHP-WIN] reading lines from a file

2003-02-12 Thread Per Lundberg
On Tue, 2003-02-11 at 18:27, Svensson, B.A.T. (HKG) wrote: > Also excuse my limited ignorant knowledge about PHP, but > my impression about PHP is that it is runs as an instance > of the web server or something? (Please, correct me if I > made any fundamental mistake here!) Yes and no. It can be

AW: [PHP-WIN] reading lines from a file

2003-02-11 Thread Sven Schnitzke
Dear Mr. Svensson, I understand your points (well - mostly) but - pleeez don't get too fundamental over that !! -- This thread is up to 21postings by now and if I knew a better NG I'd suggest a follow up there! This one is for helping people get going with PHP in WIN environment, and as f

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
"Ignatius Reilly" <[EMAIL PROTECTED]> Cc: "Php Win32 list" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 4:12 PM Subject: RE: [PHP-WIN] reading lines from a file > > I trust that I am not the only one to be curious to > > learn more concerning your

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
is Kranz [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 5:30 PM > To: 'Php Win32 list' > Subject: RE: [PHP-WIN] reading lines from a file > > > Didn't he just say parse it via command line tho? > > This wouldn't take away resources f

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
so, I still have plenty on my plate migrating my Filemaker/Lasso system over to MySQL/PHP/Java. Cheers George > -Original Message- > From: Chris Kranz [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 4:30 pm > To: 'Php Win32 list' > Subject: RE: [PHP-

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Chris Kranz
13 To: Ignatius Reilly Cc: Php Win32 list Subject: RE: [PHP-WIN] reading lines from a file > I trust that I am not the only one to be curious to > learn more concerning your remark. [...] > Would you care to explain in more details why PHP is > a MUST DON'T to do this? Hi, Tha

Re: [PHP-WIN] reading lines from a file

2003-02-11 Thread Ignatius Reilly
ng about firing himself) - Original Message - From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> To: "Ignatius Reilly" <[EMAIL PROTECTED]> Cc: "Php Win32 list" <[EMAIL PROTECTED]> Sent: Tuesday, Februa

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
> I trust that I am not the only one to be curious to > learn more concerning your remark. [...] > Would you care to explain in more details why PHP is > a MUST DON'T to do this? Hi, Thanx for your comment. One can talk about things like load balance for scalability, and other boring subjects,

Re: [PHP-WIN] reading lines from a file

2003-02-11 Thread Ignatius Reilly
day, 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- > > F

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
like to answer? Exhibition purposes? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 3:08 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] reading lines from a file > > > Hey, it's n

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Jill . Ramonsky
start a new thread, and leave me out of it. Jill -Original Message- From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 2:05 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] reading lines from a file You DON'T parse large record based file with a

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
; To: [EMAIL PROTECTED] > 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: G

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Jill . Ramonsky
P-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

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
P.S. I am just a bit curious on how big this "huge file" is? D.S. > > > -Original Message- > > From: George Pitcher [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 11, 2003 12:59 PM > > To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] > > Subjec

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
looking for someone to provide the code (snippets accepted though) but I would appreciate being pointed in the right direction. Cheers George > -Original Message- > From: Chris Kranz [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 12:04 pm > To: [EMAIL PROTECTED] > Sub

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
2:59 PM > To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] reading lines from a file > > > Yes, I suppose I do. > > I want to be able to take my file, work out a complete of fieldnames and > then create an array which could then be used to, initially

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Chris Kranz
tell you what the code would be? chris kranz fatcuban.com -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED]] Sent: 11 February 2003 11:59 To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] Subject: RE: [PHP-WIN] reading lines from a file Yes, I suppose I do. I want to be ab

Re: [PHP-WIN] reading lines from a file

2003-02-11 Thread Vladimir Galkov
is. > > George > > > -Original Message- > > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > > Sent: 11 February 2003 10:56 am > > To: George Pitcher; [EMAIL PROTECTED] > > Subject: RE: [PHP-WIN] reading lines from a file > > > > &

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] > Sent: 11 February 2003 11:03 am > To: George Pitcher; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] reading lines from a file > > > Then you need to write a parser. What's the basic problem then? > > > -Original Me

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
Then you need to write a parser. What's the basic problem then? > -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 11:59 AM > To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] reading lines fro

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
IL PROTECTED] > Subject: RE: [PHP-WIN] reading lines from a file > > > What do you want to do? Parse the file into tab-delimited data > in order to bulk load it into the database? > > > -Original Message- > > From: George Pitcher [mailto:[EMAIL PROTECTED]] >

RE: [PHP-WIN] reading lines from a file

2003-02-11 Thread Svensson, B.A.T. (HKG)
What do you want to do? Parse the file into tab-delimited data in order to bulk load it into the database? > -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 11:41 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] readi

[PHP-WIN] reading lines from a file

2003-02-11 Thread George Pitcher
Hi, I have a huge file that I want to get into a db format. There are over 5000 records and I need to create fieldnames on the fly. Each record comprises a number of lines (fields) containing 2 elements (fieldname [first 5 chars (which need rtrimming)], value [rest of line, some with lots of tex