a browser?
Ryan
-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Splitting a CSV file
Chris,
If you are on a Redhat machine, you could try running a CLI command on
this.
Try looking up
try to parse the csv file line by line and you won't have memory problems
ever:
===
$d = \t; // fields delimiter
$fp = fopen ($file_name, r);
while ($arr_row = fgetcsv ($fp, 4096, $d, )) {
do_something ($arr_row);
}
fclose ($fp);
===
_
- Original Message -
From: Chris Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 18:54
Subject: Re: [PHP-DB] Splitting a CSV file
Hi there,
I did a test on my local machine, set the upload limit for PHP to 50Megs
for
forms (WAAA more
18:54
Subject: Re: [PHP-DB] Splitting a CSV file
Hi there,
I did a test on my local machine, set the upload limit for PHP to 50Megs
for
forms (WAAA more than I need, but then atleast I know that isn't the
problem).
Then, I select the file through my web form, put
Chris, et al --
...and then Chris Payne said...
%
% Hey there,
Hiya!
%
% I just want to thank everyone for their time and help, you've all been so
% valuable and solved my problems :-) I needed the hidden max_file_size bit
Glad to hear it, and sorry it took me so long to get here. There's
Chris,
If you are on a Redhat machine, you could try running a CLI command on
this.
Try looking up the 'split' command, it may solve your problem if you
combine it with some PHP.
-Matt
On Mon, 2003-11-24 at 19:14, Chris Payne wrote:
Hi there everyone,
I'm writing an automation system to