function visitors_get_ip_str in Visitors 8
Same name and namespace in other branches
- 7.2 visitors.exit.inc \visitors_get_ip_str()
- 7 visitors.exit.inc \visitors_get_ip_str()
- 7.0 visitors.exit.inc \visitors_get_ip_str()
Converts a string containing an visitors (IPv4) Internet Protocol dotted address into a proper address.
Return value
string
1 call to visitors_get_ip_str()
- visitors_exit in ./
visitors.exit.inc - Implements of hook_exit().
File
- ./
visitors.exit.inc, line 60 - Implements of hook_exit().
Code
function visitors_get_ip_str() {
return sprintf("%u", ip2long(visitors_get_ip()));
}