Welcome Guest, Not a member yet? Register   Sign In
$this->input->ip_address() problem
#1

[eluser]victorche[/eluser]
I can not say that this is a bug, but anyway the user guide says:
Quote:If the IP address is not valid, the function will return an IP of: 0.0.0.0

And this is wrong. The current code will check only for ipv4 address. If you have a valid ipv6 address, it will show 0.0.0.0 too.

And ipv6 is coming fast...


Messages In This Thread
$this->input->ip_address() problem - by El Forum - 03-02-2011, 03:18 AM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 04:27 AM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 07:31 AM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 07:43 AM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 08:46 AM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 03:58 PM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 04:00 PM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 04:57 PM
$this->input->ip_address() problem - by El Forum - 03-02-2011, 05:17 PM
$this->input->ip_address() problem - by El Forum - 03-03-2011, 01:05 AM
$this->input->ip_address() problem - by El Forum - 03-03-2011, 01:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB