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

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

2007-05-31 Thread Adam Niedzwiedzki
Hi all, 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 of memory (alloca

[PHP-WIN] Re: Help with windows 2003 iis6, exec() and permissions

2005-05-18 Thread Adam Niedzwiedzki
hell stuff.) etc. > > access to %windir%\system32\cmd.exe is required. this is denied in a > default IIS6 installation. > > -- > Louis Solomon > www.SteelBytes.com > > "Adam Niedzwiedzki" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >&g

[PHP-WIN] Help with windows 2003 iis6, exec() and permissions

2005-05-18 Thread Adam Niedzwiedzki
Hi all, There is so much info on google/pnp.net etc on this but all of them seem to work some of the time and the rest of them seem to work the rest of the time;). I just can't seem to find what is the most secure and correct/guaranteed way of setting this up. A windows 2003 server, running IIS6, a

[PHP-WIN] Help with windows 2003 iis6, exec() and permissions

2005-05-18 Thread Adam Niedzwiedzki
Hi all, There is so much info on google/pnp.net etc on this but all of them seem to work some of the time and the rest of them seem to work the rest of the time;). I just can't seem to find what is the most secure and correct/guaranteed way of setting this up. A windows 2003 server, running I