开发者

php storing ip address in mysql database

开发者 https://www.devze.com 2023-03-29 15:14 出处:网络
this is more a question about design application. I was wondering if anyone might explain to me how could i store in a database ip addresse开发者_Python百科s dns they belong and other info\'s about th

this is more a question about design application. I was wondering if anyone might explain to me how could i store in a database ip addresse开发者_Python百科s dns they belong and other info's about the computer like if it's a network node or wi fi etc basically was thinking on structuring based on network type and if i have more than one ip class like 88.* and 89.* should i store in different tables.. or have more then one networkname / area. i hope someone understands my question or at least get's a sense of it because neither i don't know how to explain exactly what i need. i apologize


There is function which make optimize form for ip address for storing in b. See http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_inet-aton

0

精彩评论

暂无评论...
验证码 换一张
取 消