how can i get php file contents with php or js file from other server
with allow_url_fopen ON ?
i try this first - ITS WORK but from my server !
<?php
$url = "index.php";
$json = file_get_contents($url);
echo $json;
echo 1;
?>
i its not work
<?php
$url = "http://mysite.com/index.php";
$json = file_get_contents($url);
echo $json;
echo 1;
?>
anyone know how get file content with allow_url_fopen from other server?
or other user from my server?
or get variable from that file?