php remove file
snippet in php

php remove file

user5423

if(file_exists($file)) {
	unlink($file);
} 

php how to delete file

user1948

if(file_exists($file)) {
	unlink($file);
}

php unlink

user5169

<?php 
  unlink('test.html');
?>