I am using file_get_contents to read json data.
My code is :
//echo $json_url;
$json_data = file_get_contents($json_url);
I am surprise that, the variable $json_data returns null value. When I echo the variable $json_url, it displays the correct url. Tt also displays json record when I manually enter the url in browser.
What can be error here?