<?php echo getipaddress(); function getipaddress(){ $xml = simplexml_load_file("http://www.geoplugin.net/xml.gp?ip=".getRealIpAddr()); print_r($xml); $ccode=$xml->geoplugin_countryCode; return $ccode; } function getRealIpAddr(){ if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip=$_SERVER['HTTP_CLIENT_IP']; }elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; }else{ $ip=$_SERVER['REMOTE_ADDR']; } //$ip="YOUR IP"; return $ip; } echo "<hr>"; $details = ip_details(getRealIpAddr()); print_r($details); function ip_details($ip) { $json = file_get_contents("http://ipinfo.io/{$ip}"); $details = json_decode($json); return $details; } ?>
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Friday, 18 July 2014
How to get IP based country,state,currency and countrycode and Internet connection Provider and lattitude & longitude in PHP?
Wednesday, 16 July 2014
How to download your profile from facebook?
1. Login to your FB account in http://facebook.com
2. Goto your Account -> Settings
3. Click Download as Copy & you have get mail from fb registered account
4. Check you mail the subject is " Your Facebook download is ready" and click the link
Ex: https://www.facebook.com/dyi?x=**************
5. You have get you full profile & uploaded photos, videos & wall everything will be get
Subscribe to:
Posts (Atom)
Feet/Inches to Meters Converter & Lbs to Kgs Converter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...
-
<?php $to = "somebody@example.com, somebodyelse@example.com"; $subject = "HTML email"; $message = " <h...
-
document.onkeydown = myKeyDownHandler; function myKeyDownHandler(event){ alert(event.keyCode) }
-
ISAIMINI.COM Download