In article <4207797f$0$10578$3b214f66@aconews.univie.ac.at> ,
Christian Meisl <christian.meisl@tugraz.at> wrote:
> Is there any possibility to log the POST parameters a script gets via
> Apache? Unfortunately I haven't found any switch for the LogFormat
> directive.
>
> My problem is as follows: I have the following code on my homepage:
>
> <form action="mail.php" method="POST">
Personally, I don't think this is a very good idea, even if it was easy
to do. It would be quite easy for a malicious person to flood your form
with tons of useless POST data, quickly filling up your log file
partition.
You're much better off putting diagnostic strings into your PHP script,
mail.php. Find a place after the headers have been sent, and echo the
form variables, or fwrite them to a file somewhere.
--
Dan Wilga
dwilga-MUNGE@mtholyoke.edu
** Remove the -MUNGE in my address to reply **