Page 1 of 1
How to Get(listen) to POST and GET Methods send to my server
Posted: Wed Feb 18, 2015 9:46 am
by arefenayat
hi guys i want to Get all POST and GET Methods which Everyone send to my server web applications and save as log with php. how can i do this ? (in xampp)
Re: How to Get(listen) to POST and GET Methods send to my se
Posted: Wed Feb 18, 2015 9:54 am
by Celauran
Apache log should already be catching all requests. If you want to do it separately in PHP, say to keep the parameter values or something, point everything to a front controller and log it there.
Re: How to Get(listen) to POST and GET Methods send to my se
Posted: Wed Feb 18, 2015 10:23 am
by arefenayat
but apache don't log post Requests content
Re: How to Get(listen) to POST and GET Methods send to my se
Posted: Wed Feb 18, 2015 10:41 am
by Celauran
If you want to do it separately in PHP, say to keep the parameter values or something, point everything to a front controller and log it there.
Re: How to Get(listen) to POST and GET Methods send to my se
Posted: Wed Feb 18, 2015 1:39 pm
by arefenayat
php_value auto_prepend_file log.php