[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-diactoros/src/functions/ -> normalize_server.php (summary)

(no description)

Copyright: https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md
License: https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License
File Size: 53 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  normalizeServer()

Functions
Functions that are not part of a class:

normalizeServer(array $server, callable $apacheRequestHeaderCallback = null)   X-Ref
Marshal the $_SERVER array

Pre-processes and returns the $_SERVER superglobal. In particularly, it
attempts to detect the Authorization header, which is often not aggregated
correctly under various SAPI/httpd combinations.

param: null|callable $apacheRequestHeaderCallback Callback that can be used to
return: array Either $server verbatim, or with an added HTTP_AUTHORIZATION header.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer