function visitors_get_ip_str in Visitors 7.0
Same name and namespace in other branches
- 8 visitors.exit.inc \visitors_get_ip_str()
- 7.2 visitors.exit.inc \visitors_get_ip_str()
- 7 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
File
- ./
visitors.exit.inc, line 58 - Implements of hook_exit().
Code
function visitors_get_ip_str() {
return sprintf("%u", ip2long(visitors_get_ip()));
}