In a webserver, which component handles the translation of URL parameters to the $_GET
global variable?
Is that a module in PHP engine, or a module of the web server (Apache, Nginx)?
I'm asking because since I'm not using GET (only POST/ meaningfull links where parameters are already part of the link), I was searching for a way to disable $_GET
in order to avoid someone use it accidentally.
The final goal is not to block the HTTP's GET method, but just to disable/remove the logic that read URL's parameters and translate these into PHP's $_GET
.
If possible I want to remove physically (erasing the module file) modules that handle this. If not I want to set that option both in PHP and Webserver (in case there's some GET's logic in both packages).
$_GET
superglobal refers to)? Can you please clarify. Or are you literally only accepting POST requests?