Skip Navigation
Using $_SERVER['QUERY_STRING'] No Longer Retrieves Query String Parameters
Answer ID 7049   |   Last Review Date 01/08/2019

Why Does $_SERVER['QUERY_STRING'] No Longer Retrieve Query String Parameters?


Oracle B2C Service Version May 2014 and newer using PHP Scripting



All query string parameters present in the URL will now be ignored because the functionality has been changed.

Previously, query string parameters that were found in the URL (e.g. ?a=b) would be ignored, but only if they appeared after the controller or page were specified.

Although these query string parameters are ignored, they can still be retrieved within PHP by using the $_GET array or $_SERVER['argv'][0].