🌈 搜索
📅  最后修改于: 2022-03-11 14:54:21.085000             🧑  作者: Mango
$whitelist = array( '127.0.0.1', '::1' ); if(!in_array($_SERVER['REMOTE_ADDR'], $whitelist)){ // not valid }