webdev.ramyash@gmail.com

Web Development: Delete file from folder in PHP.


Delete file from folder in PHP

Delete file from folder in PHP.

use unlink() function



Example:

<?php



$delete_file="foldername/filename.gif";

unlink($delete_file);


?>

No comments:

Post a Comment