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 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
> fo
atius
_
- 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
omething ($arr_row);
}
fclose ($fp);
===
(fgetcsv returns an array containing the fields read.)
Tiberiu
- Original Message -
From: "Chris Payne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 1:14 AM
Subject: [PHP-DB] Splitting a CSV file
?
>
> <>< 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
g the
file through 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
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
Hi there everyone,
I'm writing an automation system to automatically insert data into a mysql database
from a CSV file, and it works great - until I try to insert a large file, then it just
doesn't do anything.
I've set my PHP filesize to 10 Megs so that's not the issue, and a server timeout
i