「PHP Programming/Files」の版間の差分
削除された内容 追加された内容
M Formatting, {{Programming/Navigation}} automation |
M →Error Checking: fix comment |
||
221 行
// But might want to create the file instead
$handle = @ fopen($file, 'x'); // Still need to error-check
if(!$handle) {
echo 'PHP does not have permission to create a file in the current directory.';
|