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
> 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
> 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.
--
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
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
"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
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
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-
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
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
> 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,
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
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
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
; 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
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
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
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
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
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
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
> >
> >
&
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
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
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]]
>
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
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
26 matches
Mail list logo