Undefined index: HTTP_HOST |
i get in error log :
Quote:PHP Notice: Undefined index: HTTP_HOST in /var/www/html/web/libraries/src/Application/WebApplication.php on line 988and code in this line : Code: $uri = $scheme . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; Quote:PHP Notice: Undefined index: HTTP_HOST in /var/www/html/web/libraries/src/Uri/Uri.php on line 90and code in this line : Code: $theURI = 'http' . $https . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; What can I do to fix this?
I think you need to read this before you continue.
HTTP_HOST and SERVER_NAME Security Issues What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |