PHP Notice: Undefined variable: _SERVER |
i was using nginx server and i changed to apache 2.4.
iam using ci 3.1.8 version php version is 7.1.18 i guess server connection lost but why i have no idea why [Mon Mar 04 13:13:04.598041 2019] [php7:notice] [pid 4992:tid 1108] [client 51.11.0.4:56252] PHP Notice: Undefined variable: _SERVER in C:\\Interface\\html\\application\\config\\config.php on line 28, referer: http://51.11.0.21/ PHP Code: Line 27- $root=(isset($_SERVER['HTTPS']) ? "https://" : "http://").$_SERVER['HTTP_HOST']; |
Messages In This Thread |
PHP Notice: Undefined variable: _SERVER - by makif - 03-04-2019, 06:31 AM
RE: PHP Notice: Undefined variable: _SERVER - by php_rocs - 03-04-2019, 08:25 AM
RE: PHP Notice: Undefined variable: _SERVER - by makif - 03-04-2019, 11:30 PM
|