I want read content of a file from another website but can not read it.
I have access to both host.
I want use file_get_contents()
function. What do I need to change in the file directory on file or folders? or in my PHP file?
enter link description here
<?php
$direct="http://nic.subz.ir/api/index.php";
echo $direct;
echo file_get_contents($direct);
?>