Quick Script
#1
Can I get a quick script that converts the input IP to the decimal equivalent?

eg

function convert_ip($ip)
{
//convert to hex

return $converted_ip;
}
-Paul H.

Cogisne lingua latina?
Reply
#2
You may use this: http://php.net/ip2long
Reply
#3
Toungue... should have thought of that earlier... Thanks!
-Paul H.

Cogisne lingua latina?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)