What is $config['uri_protocol'] ? |
[eluser]ang89[/eluser]
Hi there, In config.php, I see a config item named 'uri_protocol' which I can't understand what it is for. Can someone explain the purpose of this config item to me? What is the difference between the 5 values? (AUTO, PATH_INFO, QUERY_STRING, REQUEST_URI, ORIG_PATH_INFO). Thanks! Andree.
[eluser]mattpointblank[/eluser]
All defined here: http://php.net/manual/en/reserved.variables.server.php (I'd assume 'AUTO' tries the default one)
[eluser]Phil Sturgeon[/eluser]
$config[‘uri_protocol’] is a config item for the URI protocol. :coolhmm: As with pretty much server/environment variable available in PHP they cannot be trsuted to be identical on all operating systems, web servers, PHP versions, etc. By allowing you two switch between various different $_SERVER values you are almost guaranteed to find one that works. |
Welcome Guest, Not a member yet? Register Sign In |