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