delete uploaded file php
snippet in php

delete file in php

user129

unlink(filepath);

delete uploaded file php

user8425

<?php
unlink($_POST['filename']);
echo 'Deleted';
?>