|
';
if ( isset( $_SERVER[ $ip_method ] ) and ! empty( $_SERVER[ $ip_method ] ) ) {
echo $_SERVER[ $ip_method ];
} else {
_e( 'No available data.', 'wp-statistics' );
}
}
echo '';
if ( ! in_array( $ip_method, WP_Statistics::list_of_server_ip_variable() ) and isset( $_SERVER[ $ip_method ] ) and ! empty( $_SERVER[ $ip_method ] ) and $WP_Statistics->check_sanitize_ip( $_SERVER[ $ip_method ] ) === false ) {
echo ' ';
}
?>
$_SERVER for getting IP. e.g. HTTP_CF_CONNECTING_IP in CloudFlare.', 'wp-statistics' ); ?>
$_SERVER in your server.', 'wp-statistics' ); ?>
|