/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#complete serverpath must be given like #example "/apache/htdocs/myfile.pdf" ( not "http:xyz.com/myfile.pdf" ) $DelFilePath = $setup["serverWebrootPath"] . $fileName; # delete file if exists