php將字串寫入檔案 - dreamtails - 痞客邦PIXNET

php將字串寫入檔案 - dreamtails - 痞客邦PIXNET

瀏覽:1305
日期:2025-10-03
2009年9月30日 ... $fp = fopen('output.txt', 'w'); //"我\r\n愛\r\n妳"則是要寫入的文字 //而在Windows系統 下的文字檔會把"\r\n"視同為「跳行」 fwrite($fp, "我\r\n愛\r\n妳");...看更多