Welcome Guest, Not a member yet? Register   Sign In
Why be throwing around $this->config->item('base_url') ? Why not stick with $_SERVER('HTTP_HOST')?
#2

[eluser]dallasray[/eluser]
One thing I can notice is the absence of the protocol in HTTP_HOST, but I have always dealt with that using a constant called prot and set that to either 'http://' or 'https://'


Messages In This Thread
Why be throwing around $this->config->item('base_url') ? Why not stick with $_SERVER('HTTP_HOST')? - by El Forum - 12-21-2009, 09:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB