[TYPO3-dev] IP-Function in MySQL

Steffen Kamper info at sk-typo3.de
Mon Aug 4 10:05:36 CEST 2008


Dmitry Dulepov [typo3] schrieb:
> 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.
> 

Hi,

true, analyze/edit on native row is more difficult, but you can use it 
in select or where

vg Steffen




More information about the TYPO3-dev mailing list