How to get raw query string from HTTP POST request?

Is this possible to access query string from a POST request? For example this:


This string is sent by the browser in the HTTP request when sending a form with the POST method. Then the data is available in the $_POST superglobal but I would like to access the query string directly (without building it from $_POST).

take a look at what print_r($_SERVER) tells you.

It doesn’t give me the query string from POST.

you could get it from $_REQUEST, but that’s kinda gay…
What’s wrong with $_POST?

That’s what I was looking for! Thanks!