RE: [PHP] $_FILE array being truncated

2010-03-16 Thread Richard Lee
> Check out max_file_uploads which was added in PHP 5.2.12 and defaults to > 20. Yes that was the problem, I set max_file_uploads higher and it works now. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] opening a big file

2008-04-07 Thread Richard Lee
Daniel Brown wrote: On Sun, Apr 6, 2008 at 10:36 PM, Richard Lee <[EMAIL PROTECTED]> wrote: I am trying to open a big file and go through line by line while limiting the resource on the system. What is the best way to do it? Does below read the entire file and store them in memo

[PHP] opening a big file

2008-04-06 Thread Richard Lee
I am trying to open a big file and go through line by line while limiting the resource on the system. What is the best way to do it? Does below read the entire file and store them in memory(not good if that's the case).. open(SOURCE, "/tmp/file") || die "not there: $!\n"; while () { ## do som