【search.php】 <?php if($_GET["q"] || $_GET["url"]){ $query = htmlspecialchars($_GET["q"]); $query = urlencode($query); $flug = true; if($_GET["url"]){ $url = $_GET["url"]; $url_parse = explode("?", $url); $param_arr = explode("&", $url_parse[1]); $param_arr2 = explode("=", $param_arr[1]); $flug = false; $xml = simplexml_load_file($url); }else{ $url = "http://search.twitter.com/search.atom?q=".$quer