{"id":2278,"date":"2019-07-01T17:50:22","date_gmt":"2019-07-01T14:50:22","guid":{"rendered":"http:\/\/fatihsoysal.com\/blog\/?p=2278"},"modified":"2020-06-19T13:57:28","modified_gmt":"2020-06-19T10:57:28","slug":"c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/","title":{"rendered":"C# &#038; PHP &#8211; IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak"},"content":{"rendered":"<p>Merhaba, ge\u00e7ti\u011fimiz g\u00fcnlerde bir proje i\u00e7in <strong>IP<\/strong> bilgisi \u00fczerinden <strong>\u015fehir<\/strong> bilgisi almam gerekti. Bunun i\u00e7in de bir dizi ara\u015ft\u0131rmalarda bulundum. \u00d6ncelikle bunu bir platform \u00fczerinden almak en h\u0131zl\u0131 ve en etkili \u00e7\u00f6z\u00fcm. Dolay\u0131s\u0131yla bir <strong>IP<\/strong> servisi \u00fczerine istekte bulunuyor geri d\u00f6n\u00fc\u015f de\u011feri olarak bize <strong>\u015eehir<\/strong> ve <strong>\u00dclke<\/strong> bilgileri gibi farkl\u0131 bilgiler de geliyor. Ancak \u015fuan i\u00e7in bizim i\u00e7in \u00f6nemli olan \u00fclke ve \u015fehir bilgileri.<\/p>\n<blockquote><p>Her <strong>web site<\/strong> sahibinin ziyaret\u00e7ileri hakk\u0131nda edinmesi gereken bilgiler vard\u0131r. Sitede dola\u015fma s\u00fcreleri, hangi ba\u015fl\u0131klarla daha \u00e7ok ilgilenildi\u011fi ve ziyaret\u00e7ilerin hangi <strong>\u015fehir\/\u00fclke<\/strong> insanlar\u0131 taraf\u0131ndan ziyaret edildikleri gibi bilgiler web sitenizi geli\u015ftirmek i\u00e7in kullan\u0131lan \u00f6nemli bilgilerden baz\u0131lar\u0131d\u0131r. Ziyaret\u00e7ilerin <strong>lokasyon<\/strong> bilgileri \u00fcretti\u011finiz i\u00e7eri\u011fe veya sat\u0131\u015f\u0131n\u0131 yapt\u0131\u011f\u0131n\u0131z \u00fcr\u00fcnlere ne gibi geli\u015ftirmeler yapabilece\u011finiz hakk\u0131nda size baz\u0131 ip u\u00e7lar\u0131 verebilir. \u00d6rne\u011fin yurt d\u0131\u015f\u0131ndan ziyaret edilme oran\u0131n\u0131zda bir art\u0131\u015f g\u00f6rd\u00fcyseniz siteniz i\u00e7in <a href=\"https:\/\/www.protranslate.net\/tr\/web-site-cevirisi\/\" target=\"_blank\" rel=\"noopener\">Protranslate ile web site lokalizasyonu hizmeti<\/a> gibi servislerden yararlanmak ve dijital alandaki varl\u0131\u011f\u0131n\u0131z\u0131 profesyonelle\u015ftirebilme gibi se\u00e7enekleri g\u00f6z \u00f6n\u00fcnde bulundurabilirsiniz.<\/p><\/blockquote>\n<p>Birka\u00e7 farkl\u0131 platform denemesi yapt\u0131m, ancak en etikili buldu\u011fum\u00a0<a href=\"http:\/\/www.ipinfodb.com\" target=\"_blank\" rel=\"noopener noreferrer\">ipinfodb<\/a>\u00a0ve<a href=\"http:\/\/ipinfo.io,\" target=\"_blank\" rel=\"noopener\">\u00a0ipinfo.io<\/a>\u00a0servislerini size \u00f6nerece\u011fim.<\/p>\n<p>Ben\u00a0<a href=\"http:\/\/ipinfo.io\" target=\"_blank\" rel=\"noopener\">ipinfo.io<\/a>\u00a0\u00fczerinde karar k\u0131ld\u0131m ve bunu kulland\u0131m, yukar\u0131da belirtti\u011fim gibi etkili ve stabil \u00e7al\u0131\u015f\u0131yor. \u015eimdi sizlerle birlikte bir \u00f6rnek uygulama yapal\u0131m.<\/p>\n<h2><strong>\u00d6rnek JSON<\/strong><\/h2>\n<pre class=\"lang:default decode:true\">$ curl ipinfo.io\/8.8.8.8\r\n{\r\n  \"ip\": \"8.8.8.8\",\r\n  \"hostname\": \"google-public-dns-a.google.com\",\r\n  \"loc\": \"37.385999999999996,-122.0838\",\r\n  \"org\": \"AS15169 Google Inc.\",\r\n  \"city\": \"Istanbul\",\r\n  \"region\": \"TR\",\r\n  \"country\": \"TR\",\r\n  \"phone\": 650\r\n}<\/pre>\n<h2>PHP \u00d6rnek<\/h2>\n<pre class=\"lang:default decode:true \">$ip = $_SERVER['REMOTE_ADDR'];\r\n$details = json_decode(file_get_contents(\"http:\/\/ipinfo.io\/{$ip}\"));\r\necho $details-&gt;city; \/\/ -&gt; \"Istanbul\"<\/pre>\n<h2>Bonus:\u00a0ipinfodb \u00d6rne\u011fi (PHP)<\/h2>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\r\ninclude 'class.IPInfoDB.php';\r\n\r\n\/\/ Load the class\r\n$ipinfodb = new IPInfoDB('YOUR_API_KEY');\r\n\r\n$results = $ipinfodb-&gt;getCity($_SERVER['REMOTE_ADDR']);\r\n\r\necho \"Result\r\n\\n\";\r\nif (!empty($results) &amp;&amp; is_array($results)) {\r\n\tforeach ($results as $key =&gt; $value) {\r\n\t\techo $key . ' : ' . $value . \"\r\n\\n\";\r\n\t}\r\n}<\/pre>\n<h2>Bonus2: ipinfodb \u00d6rne\u011fi (C#)<\/h2>\n<pre class=\"lang:default decode:true \">\tpublic partial class ipinfodb : System.Web.UI.Page\r\n    {\r\n        protected void Page_Load(object sender, EventArgs e)\r\n        {\r\n            WebAPI();\r\n        }\r\n\r\n\tprivate void WebAPI()\r\n        {\r\n\t\tstring myIP = HttpContext.Current.Request.UserHostAddress;\r\n            string strQuery;\r\n            string key = \"\";\r\n            HttpWebRequest HttpWReq;\r\n            HttpWebResponse HttpWResp;\r\n\r\n            strQuery = \"http:\/\/api.ipinfodb.com\/v3\/ip-city\/?\" + \"ip=\" + myIP + \"&amp;key=\" + key + \"&amp;format=json\";\r\n\r\n            JavaScriptSerializer serializer = new JavaScriptSerializer();\r\n\r\n            HttpWReq = (HttpWebRequest)WebRequest.Create(strQuery);\r\n            HttpWReq.Method = \"GET\";\r\n            HttpWResp = (HttpWebResponse)HttpWReq.GetResponse();\r\n\r\n            System.IO.StreamReader reader = new System.IO.StreamReader(HttpWResp.GetResponseStream());\r\n            string content = reader.ReadToEnd();\r\n\r\n            dynamic item = serializer.Deserialize&lt;object&gt;(content);\r\n            string city = item[\"cityName\"];\r\n            string countryc = item[\"countryCode\"];\r\n            string countryn = item[\"countryName\"];\r\n            string region = item[\"regionName\"];\r\n            string lat = item[\"latitude\"];\r\n            string longi = item[\"longitude\"];\r\n            string timez = item[\"timeZone\"];\r\n            string zip = item[\"zipCode\"];\r\n\r\n            \/\/displaying the result\r\n            Response.Write(\"Welcome Visitors from \" + city + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Your IP address: \" + myIP + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Country Code: \" + countryc + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Country Name: \" + countryn + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Region Name: \" + region + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Latitude: \" + lat + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Longitude: \" + longi + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Time Zone: \" + timez + \"&lt;br \/&gt;\");\r\n            Response.Write(\"Zip Code: \" + zip + \"&lt;br \/&gt;\");\r\n        }\r\n\r\n    }\r\n\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"Merhaba, ge\u00e7ti\u011fimiz g\u00fcnlerde bir proje i\u00e7in IP bilgisi \u00fczerinden \u015fehir bilgisi almam gerekti. Bunun i\u00e7in de bir dizi&hellip;","protected":false},"author":1,"featured_media":2279,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[228,133],"tags":[726,725,723,724],"class_list":{"0":"post-2278","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-c","8":"category-php","9":"tag-c-ip-sehir","10":"tag-c-ip-ulke","11":"tag-php-ip-sehir","12":"tag-php-ip-ulke","13":"cs-entry","14":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C# &amp; PHP - IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak - Kodlar\u0131n Gizemli D\u00fcnyas\u0131<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C# &amp; PHP - IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak\" \/>\n<meta property=\"og:description\" content=\"Merhaba, ge\u00e7ti\u011fimiz g\u00fcnlerde bir proje i\u00e7in IP bilgisi \u00fczerinden \u015fehir bilgisi almam gerekti. Bunun i\u00e7in de bir dizi&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-01T14:50:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-19T10:57:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"306\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"C# &#038; PHP &#8211; IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak\",\"datePublished\":\"2019-07-01T14:50:22+00:00\",\"dateModified\":\"2020-06-19T10:57:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\"},\"wordCount\":279,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"image\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png\",\"keywords\":[\"c# ip \u015fehir\",\"c# ip \u00fclke\",\"php ip \u015fehir\",\"php ip \u00fclke\"],\"articleSection\":[\"C#\",\"PHP\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#respond\"]}],\"copyrightYear\":\"2019\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\",\"name\":\"C# & PHP - IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png\",\"datePublished\":\"2019-07-01T14:50:22+00:00\",\"dateModified\":\"2020-06-19T10:57:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png\",\"width\":600,\"height\":306},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C# &#038; PHP &#8211; IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"C# & PHP - IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/","og_locale":"tr_TR","og_type":"article","og_title":"C# & PHP - IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak","og_description":"Merhaba, ge\u00e7ti\u011fimiz g\u00fcnlerde bir proje i\u00e7in IP bilgisi \u00fczerinden \u015fehir bilgisi almam gerekti. Bunun i\u00e7in de bir dizi&hellip;","og_url":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2019-07-01T14:50:22+00:00","article_modified_time":"2020-06-19T10:57:28+00:00","og_image":[{"width":600,"height":306,"url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png","type":"image\/png"}],"author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"C# &#038; PHP &#8211; IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak","datePublished":"2019-07-01T14:50:22+00:00","dateModified":"2020-06-19T10:57:28+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/"},"wordCount":279,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"image":{"@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage"},"thumbnailUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png","keywords":["c# ip \u015fehir","c# ip \u00fclke","php ip \u015fehir","php ip \u00fclke"],"articleSection":["C#","PHP"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#respond"]}],"copyrightYear":"2019","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/","url":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/","name":"C# & PHP - IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage"},"image":{"@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage"},"thumbnailUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png","datePublished":"2019-07-01T14:50:22+00:00","dateModified":"2020-06-19T10:57:28+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/"]}]},{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#primaryimage","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2019\/07\/ipadresi.png","width":600,"height":306},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/c-php-ip-uzerinden-sehir-ulke-bilgilerini-almak\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"C# &#038; PHP &#8211; IP \u00fczerinden \u015eehir-\u00dclke Bilgilerini Almak"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/2278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=2278"}],"version-history":[{"count":4,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/2278\/revisions"}],"predecessor-version":[{"id":2318,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/2278\/revisions\/2318"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media\/2279"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=2278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=2278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=2278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}