爱玺玺

爱玺玺的生活日记本。wx:lb87626

php直接输出别人网站源码htmlspecialchars(源码)

<?php 

header("content-type:text/html;charset=utf-8");

echo "<pre>".htmlspecialchars(file_get_contents("http://www.baidu.com"))."</pre>";

 ?>


发表评论:

Powered By Z-BlogPHP 1.4 Deeplue Build 150101

Copyright Your WebSite.Some Rights Reserved.

蜀ICP备11021721号-5