INET_ATON('{$list[$i]['ip']}') ??? 채택완료
alexseo
3년 전
조회 1,819
https://gnustudy.com/bbs/board.php?bo_table=skin_etc&wr_id=80
$row_ip = sql_fetch(" SELECT country FROM ip2nation WHERE ip < INET_ATON('{$list[$i]['ip']}') ORDER BY ip DESC LIMIT 0,1 "); $ip_flag = $row_ip['country'];
위의 소스에서 INET_ATON('{$list[$i]['ip']}')
이 코드는 어떻게 작동을 하나요? 또는 어디에서 불러 오나요?
댓글을 작성하려면 로그인이 필요합니다.
답변 3개
채택된 답변
+20 포인트
3년 전
MariaDB/MySQL DB 자체 함수입니다.
* MariaDB - https://mariadb.com/kb/en/inet_aton/
* MySQL - https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html#function_inet-aton
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인