时间:2021-07-01 10:21:17 帮助过:3人阅读
$fp = fopen("download.php","rb"); while(!feof($fp)){ echo "fopen: ".fgets($fp); } fclose($fp);
$lines = file("download.php"); foreach($lines as $line){ echo "file: ".$line; }
$content = file_get_contents("download.php"); echo "get_contents: ".$content;
echo "readfile: "; readfile("download.php"); flush();