httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Nichel <>
Subject Re: [users@httpd] Input filter to read a HTML form data
Date Thu, 21 Jun 2007 17:58:42 GMT
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>
> </head>
> <body>
> <form name="dataform" action="/cgi-bin/" 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
716.362.9212 x16

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message