I am running some tests to understand subtle nuances between various browsers / OSs and how they send data via different methods, ajax, stand posts & get, jQuery, etc. so I need to capture data as it comes through to the server, unaltered.
I have a PHP script that is capturing RAW POST data using php://input, but I'm unclear on how to achieve a similar stream for data sent via GET. The $_GET array url decodes my data, which for this sets of tests I do not want. I want the RAW URL encoded data as sent to in the GET request.
Is there a quick way to do this in PHP?
Thanks!
You could use the $_SERVER['QUERY_STRING']
value and parse that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With