这个方法我早就试过了,可是不行,请问有没有别的方法 <? $filename="http;//www.china.com/"; $fp=fopen($filename,"r"); $str=fread($fp,filesize($filename)); echo $str; ?> 错误提示: <b>Warning</b>: fopen("http;//www.china.com/","r") - No such file or directory in <b>C:\Program Files\Apache Group\Apache\htdocs\php30.php3</b> on line <b>5</b><br> <br> <b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>C:\Program Files\Apache Group\Apache\htdocs\php30.php3</b> on line <b>6</b><br>
<?
$filename="http;//www.china.com/";
$fp=fopen($filename,"r");
$str=fread($fp,filesize($filename));
echo $str;
?>
错误提示:
<b>Warning</b>: fopen("http;//www.china.com/","r") - No such file or directory in <b>C:\Program Files\Apache Group\Apache\htdocs\php30.php3</b> on line <b>5</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>C:\Program Files\Apache Group\Apache\htdocs\php30.php3</b> on line <b>6</b><br>
你没有对这个文件写的权利,先chmod * 777 吧