RE: [PHP] Apache logs to keep $_POST values
| From: | Jay Blanchard | Date: | Tue, 29 Jul 2003 19:36:30 +0000 |
| Subject: | RE: [PHP] Apache logs to keep $_POST values | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157410@lists.php.net to get a copy of this message | ||
[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?