Jeff wrote:
>
> I'm trying to read in a text file that has 42620 lines. Each line has
> zip code information separated by commas. I have no problem reading the
> file into an array. But when I try and read each element in the array
> and put it into another array I get a "500 server error". The second to
> last line is what's causing the problem.
>
> After doing some debugging I found out that at around iteration 18000 is
> when the server error occurs. Any ideas? I know I should use a
> database, but i'm intrigued by this problem.
Check out if the memory usage is overrun; check if timeout occurs. (Your
probgram isn't much help without the data)
--
Paul K Egell-Johnsen
Developer/PR Manager
eZ systems as
http://ez.no/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]