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

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

Environment: 

Oracle B2C Service version May 2014 and newer using PHP scripting

Resolution:

$_SERVER['REQUEST_URI']

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