I wonder if something like mod_filter, that would be able to access each request before it hit PHP, would work for this. -- Peter James [EMAIL PROTECTED]
php|architect The Magazine for PHP Professionals http://www.phparch.com ----- Original Message ----- From: "Nicholas Robinson" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]>; "Bogdan Albei" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 1:42 PM Subject: Re: [PHP] Apache logs to keep $_POST values 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php