Ambarish Mitra wrote:
Hi all, I am on Apache 2.0.59 and the following form is hosted on the apache server at htdocs. Users do a GET and get the form on the browser. The simple HTML form looks like the following. It has 3 fields where users enter data - data, phone and email. I want to write a HTTP (input?) filter which will read the HTTP request and log the form fields that the users enters. Is this possible? <html> <head> DATA FORM </head> <body> <form name="dataform" action="/cgi-bin/action.pl" method="POST"> <b>Username</b><br> <input type="text" name="data" size="20" value=""><br> <b>Phone Number</b><br> <input type="text" name="phone" size="20" value=""><p></p> <b>email id</b><br> <input type="text" name="email" size="20" value=""><p></p> <b>Submit</b><br><input type="submit" name="submit" value="OK"> </form> </body> </html> Any pointers/help on how this can be achieved?
The posted data is being sent to a perl script; why not just log it from there instead of intercepting the request?
-- John C. Nichel IV System Administrator KegWorks http://www.kegworks.com 716.362.9212 x16 john@xxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx