Instructions
-
Create a file named
getIP.php
with the following contents:<?php echo file_get_contents('http://curlmyip.com/'); ?>
-
Upload the file to your website's public root folder.
-
Visit
http://example.com/getIP.php
in your browser.(where
example.com
is replaced with your domain name)