<?php
$content = file_get_contents('http://www.baidu.com/s?wd=zhongguoyihang&cl=3');
//shangzhengzhishu
//zhongguoyinhang
?>
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<title>zthome</title>
<script type="text/javascript" src="resources/jquery/jquery-2.1.4.min.js"></script>
<script>
$(document).ready(function () {
$("#date").text((new Date()).toString());
setInterval("startRequest()",3000);
});
function startRequest()
{
window.location.reload();
}
</script>
<style type="text/css">
#gupiao {
width :200px;
}
</style>
</head>
<body>
<div id="date">
</div>
<div id="gupiao">
<?php echo $content ; ?>
</div>
</body>
</html>