php - After unlink a file/image where it goes? -
i going use php unlink function as,
$file = 'dir/test.php'; unlink($file ); it deletes file successfully.now question found file after deletion,means in recycle bin or somewhere else.
please read this
will file deleted permanently or still somewhere in server?
the file deleted. if server's os and/or file system has mechanism recover deleted files, may recoverable mechanism. if file system doesn't over-write location of file on storage medium (which likely) physical data still on disk , potentially recovered prior space being reclaimed file.
will file removed securely or php other operating systems unlinks file hdd?
the file deleted. os and/or file system handles deletes, mechanism invoked.
where file go after using function?
the file deleted. if deleting file in os and/or file system results in moving file somewhere, may end in location. if not, won't.
Comments
Post a Comment