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

Display visitor's IP address_PHP Tutorial

WBOY
Release: 2016-07-13 10:59:12
Original
872 people have browsed it

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); ?...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template