PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $ip='95.170.183.173'; $ch = curl_init("http://ipwho.is/".$ip); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // We need to disable SSL verification because the internal server isn't able to fake certificates well enough curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); $result = curl_exec($ch); if(curl_error($ch)) { echo "ERROR: ". curl_error($ch); } curl_close($ch); var_dump($result, true);
Show:  
Copy Clear