/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $ip = $_SERVER['REMOTE_ADDR']; echo "Your IP address is $ip"; ?>