Home >Backend Development >PHP Tutorial >Display visitor's IP address_PHP Tutorial

Display visitor's IP address_PHP Tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 10:59:12898browse

Description:

This code allows visitors to see their IP.

Just put the following code where it appears.

echo ("Your IP is $REMOTE_ADDR");
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631920.htmlTechArticleExplanation: This code allows visitors to see their IP. Just put the following code where it appears. ?php echo (Your IP is $REMOTE_ADDR); ?...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn