I understand that URL query strings (for example: script.php?action=something&id=somethingelse) normally get parsed automatically by the server in PHP but I was wondering if it is also possible to have a PHP script parse URL GET method name-value pairs using its own code, the way a Perl script does. Can anyone tell me whether this is do-able?
The reason I am asking is my web host's server sometimes fails to properly parse the pairs on its own. (i.e. instead of parsing script.php?action=something&id=somethingelse; the script only executes whatever the script will do if you just type script.php alone as the URL. Other times, the script and server work just fine, so there is nothing wrong with my script. It is my guess that when the problem occurs, the server is busy or something.
Anyhow, if anyone has any suggestions, I'd love to hear them. 😕