[mapguide-users] How to properly format IP addresses from MySQL
a_krunoslav at gmx.net
Fri Mar 30 17:43:09 EDT 2007
Well, there seems to be another problem for which I can't find simple
solution: I have to display on the map some ISP's users on their location
with their IP addresses. Those addresses are stored in mysql database, but
in decimal format. From php I can fetch this data with "select
inet_ntoa(2130706433)" , for example.
Since I connect to database with FDO Provider for mysql, I don't see any way
to "tell" the FDO to fetch data the way I described above, and so I see now
IP address as 2130706433. But, since I have to show this data in Property
pane, is there any way to format it before displaying? I found a page with
recalculating this values
but I don't know how to implement this to property pane.
View this message in context: http://www.nabble.com/How-to-properly-format-IP-addresses-from-MySQL-decimal-format--tf3494804s16610.html#a9761447
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users