How to get raw query string from HTTP POST request?

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

name=Lemon&pic=some_picture&begin=1

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?

http://www.php.net/manual/en/reserved.variables.httprawpostdata.php

That’s what I was looking for! Thanks!