함수 unlink()

1 Node.js[ | ]

2 Python[ | ]

3 PHP[ | ]

PHP
Copy
unlink('path/file.txt');
PHP
Copy
if( !unlink('path/file.txt') ) {
  echo "failed\n";
}
else {
  echo "success\n";
}

4 같이 보기[ | ]