目錄
if( !http.headerExists( "X-Forwarded-For" ) ) { http.setHeader("X-Forwarded-For",request.getRemoteIP()); }else{ $current = http.getHeader("X-Forwarded-For"); http.setHeader("X-Forwarded-For",$current . "," . request.getRemoteIP()); }