close
fputs()函數是fwrite()函數的別名。
例子
<?php
$file = fopen("test.txt","w");
echo fputs($file,"Hello World. Testing!");
fclose($file);
?>
輸出:
21
全站熱搜
fputs()函數是fwrite()函數的別名。
例子
<?php
$file = fopen("test.txt","w");
echo fputs($file,"Hello World. Testing!");
fclose($file);
?>
輸出:
21