Skip Navigation
Expand
  • Advanced SearchOpens new dialog
    Enter plus (+) or minus (-) signs in search terms to make a word required or excluded
    Search Tips
    Filter by product
    Filter by category
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?

Environment:

 

Oracle B2C Service Version May 2014 and newer using PHP Scripting

Resolution:

$_SERVER['QUERY_STRING']

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].