View difference between Paste ID: B19Gd4j9 and 9eZzgruh
SHOW: | | - or go back to the newest paste.
1
<html>
2
<body>
3
4
<?php
5
6
$ch = curl_init();
7
8
curl_setopt($ch, CURLOPT_URL,'http://www.ipchicken.com/');
9
10
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
11
12
$contents = curl_exec ($ch);
13
14
curl_close ($ch);
15
16-
echo "Your Server's IP : ".$contents;
16+
echo "208.91.199.150 : ".$contents;
17
18
?>
19
20
</body>
21
</html>