Try this, it should must work.
<?php
$data = file_get_contents("https://httpbin.org/ip");
print_r($data );
1
solved How to read json data from a website in php?
Try this, it should must work.
<?php
$data = file_get_contents("https://httpbin.org/ip");
print_r($data );
1
solved How to read json data from a website in php?