How to get a form variable inside PerlLogHandler

2000-11-09 Thread Luis Henrique Cassis Fagundes

Hi,
I have a perlloghandler that needs to get a variable from a form to log
the request. To do this, I parse $r-the_request to get the variable
from the query string, but this only works if the method of the form is
GET. Does anyone know how can I do this if the method is POST?
Thanks.
[]s
Luis



RE: How to get a form variable inside PerlLogHandler

2000-11-09 Thread Geoffrey Young



 -Original Message-
 From: Luis Henrique Cassis Fagundes [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 09, 2000 11:15 AM
 To: [EMAIL PROTECTED]
 Subject: How to get a form variable inside PerlLogHandler
 
 
   Hi,
   I have a perlloghandler that needs to get a variable 
 from a form to log
 the request. To do this, I parse $r-the_request to get the variable
 from the query string, but this only works if the method of 
 the form is
 GET. Does anyone know how can I do this if the method is POST?

hehe - twice in two days :)

you need to cache the POST data yourself - try Apache::RequestNotes, it does
it for you...

HTH

--Geoff

   Thanks.
   []s
   Luis