下面的php代码逐行读取sharejs.php文件,然后输出,php果然简洁
$f = fopen("sharejs.php","r") or exit("open error"); while(!feof($f)){ $line = fgets($f); echo $line; } fclose($f);
下面的php代码逐行读取sharejs.php文件,然后输出,php果然简洁
$f = fopen("sharejs.php","r") or exit("open error"); while(!feof($f)){ $line = fgets($f); echo $line; } fclose($f);