arefenayat Posted February 18, 2015 Share Posted February 18, 2015 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) Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/ Share on other sites More sharing options...
JadWS Posted February 18, 2015 Share Posted February 18, 2015 are you asking for us to write you the code ? or.... ? Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/#findComment-1506017 Share on other sites More sharing options...
mac_gyver Posted February 18, 2015 Share Posted February 18, 2015 most web servers have an access log that already contains this information. Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/#findComment-1506019 Share on other sites More sharing options...
arefenayat Posted February 18, 2015 Author Share Posted February 18, 2015 no i don't want code --- yes in apache i can do this . but i want to do with php .i need sniffer like wireshark Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/#findComment-1506026 Share on other sites More sharing options...
ginerjm Posted February 18, 2015 Share Posted February 18, 2015 Then get sniffer. Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/#findComment-1506029 Share on other sites More sharing options...
JadWS Posted February 18, 2015 Share Posted February 18, 2015 oh alright ... just wondered ... well good luck finding the solution ... ill be searching my self maybe ill find something that can help Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/#findComment-1506041 Share on other sites More sharing options...
arefenayat Posted February 18, 2015 Author Share Posted February 18, 2015 solved via php_value auto_prepend_file log.php put this cod in htaccess Quote Link to comment https://forums.phpfreaks.com/topic/294701-how-to-getlisten-to-post-and-get-methods-send-to-my-server-php/#findComment-1506058 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.