Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <?php
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'http://www.ipchicken.com/');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $contents = curl_exec ($ch);
- curl_close ($ch);
- echo "Your Server's IP : ".$contents;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement