「PHP Programming/Files」の版間の差分

(First draft created)
 
<?php
$Handle = fopen('newfile.txt', 'x'); // Open the file only if it doesn't exist
$Data = '"I am this file's first ever content!'";
fwrite($Handle, $Data);
fclose($Handle);
匿名利用者