Probably better to shell a command to write to the system log - I don't think PHP can do it directly. This would nott be subject to the contention problems you cite in writing to either an apache log or a dedicated log.
HTH Nick On Tuesday 29 Jul 2003 8:36 pm, Jay Blanchard wrote: > [snip] > I wanted to know if Apache has a feature that could log the $_POST > values. > [/snip] > > I don't think so, you would probably have to consult an Apache list or > the Apache manual. > > [snip] > By the way, fopening the log file and write the $_POST variables won't > work on a server with high activity because other requests could be > processed by apache and logged before I can write my $_POST variables in > it's access log so I would just mess up my logs. I could just keep my > own log written by my application if Apache doesn't have such a feature. > This helps a lot tracking bugs because people just don't remember what > they've done when something went wrong. > [/snip] > > True, I was just offering a solution to your situation. I like your idea > better, but you are likely to have the same problem with a seperate log > on a high traffic site, no? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php