Get contents using curl

$my_location_ip =’95.212.128.0′; //syria $my_location_ip =’27.49.37.170′;  $url = “http://ipinfo.io/{$my_location_ip}/json”; ##Get a web file (HTML, XHTML, XML, image, etc.) from a URL.  Return an ##array containing the HTTP server response header fields and content. function get_web_page( $url ) { $user_agent=’Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0′; $options = array( CURLOPT_CUSTOMREQUEST  =>”GET”,        //set request type … Read moreGet contents using curl