Re: [PHP-WIN] Problems with working with large text files

2007-06-01 Thread Stut
Please turn off read notifications when posting to a mailing list - they're very annoying. Adam Niedzwiedzki wrote: (yeah ok But still doesn't explain why php ain't letting me (I'm thinking BUG) :P) Anyways this is how I'm handling the file... if($fp = fopen($logfile, 'r')){ debug

RE: [PHP-WIN] Problems with working with large text files

2007-05-31 Thread Adam Niedzwiedzki
zcompress I have to load the whole file up to compress it don't I? gzcompress ($data, 9) $data being the string (the whole file) of text I need to compress. Cheers Ad -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Friday, 1 June 2007 12:30 PM To: Adam Niedzwied

Re: [PHP-WIN] Problems with working with large text files

2007-05-31 Thread Stut
Adam Niedzwiedzki wrote: I have a simple php script that I'm running from command line, it opens up a http web log, proccess's it, then zips it when done. If the http log is under 200MB (approx) this all hum's along nicely, as soon as the files are up over 300MB php falls over. Fatal error: Out