<?php$fp=fopen("content.txt",'w');if (!$fp){echo'文件不存在';exit;}function writeMsg() {fwrite($fp,"b");}fwrite($fp,"a");writeMsg();fclose($fp);?>
fwrite($fp,"a");可執(zhí)行,把a(bǔ)寫到文件中,但fwrite($fp,"b");不可執(zhí)行?
料青山看我應(yīng)如是
2023-03-04 17:13:09