php // 要写入的文件名字$filename = 'file.txt'; // 写入的字符$word = "你好。"; $fh = fopen($filename, "w"); echo fwrite($fh, $word); // 输出:6 fclose($fh); ?>.
確定! 回上一頁