物事のphp側のために...
含める/要求する/含める_一度...
include 'http://www.example.com/yourfile.php';
サービスプロバイダーがセキュリティに投資した脳細胞を持っていない限り、実際には機能するはずです。
file_get_contents
$homepage = file_get_contents('http://www.example.com/yourfile.php');
echo $homepage;
開く
$file = fopen ("http://www.example.com/yourfile.php", "r");
if (!$file) {
echo "<p>Unable to open remote file.\n";
exit;
}
while (!feof ($file)) {
$line = fgets ($file, 1024);
echo $line;
}
fclose($file);
カール
$url = 'http://www.example.com/yourfile.php';
$path = '/yourfile.php';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo $data;
curl_close($ch);
シェルを介した wget/curl 呼び出し...
exec('wget http://example.com/yourpage.php', $array);
echo implode('<br />', $array);
無数の方法があります..-確かにいくつか忘れていました-これを行うには、javascript(ajax/xhr)、html5、iframe...