I want to enable users to remove a file from the server using the click of a button.
<button onclick="......">Remove file</button>"
The removal of a file is possible through PHP's unlink($filename) function. Can I somehow trigger the PHP code from the button onclick? Sorry if question is stupid, I'm new to this...