Skip to main content

Tag: codeigniter

Fix CodeIgniter IP address detection on lighttpd

If the results of a call to $this->input->ip_address() gives you "0.0.0.0" (the "invalid address" response) and you're running lighttpd as your web server, you may be able to fix it with a minor tweak to by extending one of the base CodeIgniter libraries. An IPv6-style …

Continue reading