[PHP] File Write Operation Slows to a Crawl....

2009-02-23 Thread fschnittke
Hi: Newbie here. This is my first attempt at PHP scripting. I'm trying to find an alternative to Lotus Domino's domlog.nsf for logging web transactions. Domino does create an Apache compatible text file of the web transactions, and this is what I’m trying to parse. I started off using a code snibb

Re: [PHP] File Write Operation Slows to a Crawl....

2009-02-23 Thread fschnittke
Thanks Paul and Shawn: I can't answer the Why's in your posts, as this is literally my first attempt at PHP, but I will investigate your response and refine my code accordingly. What I did find is that by replacing the following code: $fhandle = fopen("/ramdrive/import_file.txt", "w"); foreach

Re: [PHP] File Write Operation Slows to a Crawl....

2009-02-23 Thread fschnittke
Hi Shawn: Yes, good idea, I agree Thanks Fred > fschnit...@execulink.com wrote: >> Thanks Paul and Shawn: >> >> I can't answer the Why's in your posts, as this is literally my first >> attempt at PHP, but I will investigate your response and refine my code >> accordingly. >> >> What I did