Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Getting IP Address of User in PHP
WhatsApp
Mr Shanawar
Jan 28
2016
1.2
k
0
0
<!doctype html>
<html>
<head>
<title>IP Address</title>
</head>
<body>
<?php
$ip_address = $_SERVER[
"REMOTE_ADDR"
];
echo
"Visitor's IP address is "
.$ip_address;
?> </body>
</html>
IP Address
PHP
IP Address of User in PHP
Up Next
Getting IP Address of User in PHP