Afficher un message
Vieux 07/02/2005, 15h21   #1
Christian Meisl
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [Apache 2.0] Parameters of POST method in Custom Logfile

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">
....
<input type="hidden" name="funk" value="send">
<input name="address" size="20">
....
</form>

I'd like to have the values of the "funk" and "address" fields in the
Apache log file. Can this be done? And if yes, how?

Regards,
Christian

--
Univ.-Ass. Dipl.-Ing. Dr. Christian Meisl
Graz University of Technology
Inst. for Chemical Apparatus Design, Particle Technology and Combustion
Inffeldgasse 25/B, A-8010 Graz, Austria
Phone: +43 (316) 873-7495 | Fax: +43 (316) 873-7492
  Réponse avec citation
 
Page generated in 0,04601 seconds with 9 queries