[TYPO3-dev] IP-Function in MySQL

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Aug 4 09:53:38 CEST 2008


Hi!

Steffen Kamper wrote:
> btw - the algorythm is very easy and can adapted in php as well:
> 
> 209.207.224.40 = 209×256^3 + 207×256^2 + 224×256^1 + 40×256^0

ip2long() and long2ip()

But forget about editing it and selecting addresses from phpMyAdmin.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/typo3_code_formatting_in_eclipse/




More information about the TYPO3-dev mailing list