1 개요[ | ]
- 함수 copy()
- 파일을 복사하는 함수
2 Go[ | ]

3 PHP[ | ]

PHP
Copy
copy('example.txt', 'example.txt.bak');
PHP
Copy
$file = 'example.txt';
$newfile = 'example.txt.bak';
if (!copy($file, $newfile)) {
echo "failed to copy $file...\n";
}
4 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.