Free online Courses
Learn free online Computer and English courses Get online, Diploma,Web,Graphic, Designing, courses,Corel Draw tutorial online, Adobe Photoshop,in Urdu, Online, PHP,HTML,CSS,Online,Courses,certificate computer,education,diploma,degree,langage,training,university,colleg,AutoCAD, Mobile,phone,Health,Android,Tablet,iPhone,cell phone, fitness,beauty,
worry solve adsen
Thursday, 18 December 2014
saqibit
Saqibit.com is the world most popular website for online Education, Educational notes, ebook in urdu , health and beauty tips, free online computer short courses, saqibit, saqib it gaves free full version software for mobile and pc, a lot of computer courses like Web designing, graphic designing, networking, css, html, php, etc. saqibit is website where you can find any thing which you want.
Visit now http://saqibit.com
http://www.saqibit.com/
http://www.saqibit.com/rahat.html
http://saqibit.com/education.html
http://saqibit.com/ebook.html
http://saqibit.com/software.html
http://saqibit.com/services.html
Tuesday, 2 December 2014
How do I retrieve the visitor's ISP through PHP?
<?php
$ip=$_SERVER['REMOTE_ADDR'];
$url=file_get_contents("http://whatismyipaddress.com/ip/$ip");
preg_match_all('/<th>(.*?)<\/th><td>(.*?)<\/td>/s',$url,$output,PREG_SET_ORDER);
$isp=$output[1][2];
$city=$output[9][2];
$state=$output[8][2];
$zipcode=$output[12][2];
$country=$output[7][2];
?>
<body>
<table align="center">
<tr><td>ISP :</td><td><?php echo $isp;?></td></tr>
<tr><td>City :</td><td><?php echo $city;?></td></tr>
<tr><td>State :</td><td><?php echo $state;?></td></tr>
<tr><td>Zipcode :</td><td><?php echo $zipcode;?></td></tr>
<tr><td>Country :</td><td><?php echo $country;?></td></tr>
</table>
</body>
$ip=$_SERVER['REMOTE_ADDR'];
$url=file_get_contents("http://whatismyipaddress.com/ip/$ip");
preg_match_all('/<th>(.*?)<\/th><td>(.*?)<\/td>/s',$url,$output,PREG_SET_ORDER);
$isp=$output[1][2];
$city=$output[9][2];
$state=$output[8][2];
$zipcode=$output[12][2];
$country=$output[7][2];
?>
<body>
<table align="center">
<tr><td>ISP :</td><td><?php echo $isp;?></td></tr>
<tr><td>City :</td><td><?php echo $city;?></td></tr>
<tr><td>State :</td><td><?php echo $state;?></td></tr>
<tr><td>Zipcode :</td><td><?php echo $zipcode;?></td></tr>
<tr><td>Country :</td><td><?php echo $country;?></td></tr>
</table>
</body>
Subscribe to:
Posts (Atom)