+1 vote
6.5k views
asked in General by
edited
How to log all GET POST data to a file?

1 Answer

0 votes
answered by
Just do

file_put_contents('savedata.txt', file_get_contents('php://input'));

and make sure the file have sufficient ownership and permissions on the server.

Related questions

+2 votes
2 answers 5.4k views
0 votes
1 answer 539 views
0 votes
2 answers 2.2k views
+2 votes
1 answer 160 views
asked Jun 12, 2016 in Magento by Arton
+1 vote
2 answers 5.8k views
0 votes
1 answer 429 views
...