All pastes #476362 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-08 01:04 UTC
rendered paste body
<?php
function file_delete($file){
 	if(file_exists($file){
 		chmod($file, 0777);
 		unlink($file);
 	}else{
 		echo $file.' does not exist!';
 	}
 }
?>