私のシンプルなコード
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="jquery.js"></script>
<script type="text/javascript">
$(function(){
$.get("http://www.facebook.com",function(data){
alert(data);});
});</script></head>
<body>
</body>
</html>
Facebookのコンテンツに警告する必要がありますが、そうではありません
アップデート
今、PHPを使用しているiam
<?php
$str=file_get_contents("http://www.facebook.com");
echo strip_tags(htmlspecialchars($str));
?>
なぜタグを削除しないのですか?