0
I need help with a php script for downloading files
I'm designing a php script to obtain file details from a MySQL database, fetch the file from a folder, increase the downloads count on the DB and pop-up a download dialog box. I've been able to achieve the first 3, but I'm having issues with the downloading aspect.
1 ответ
+ 1
use the header function to tell the browser that you have a file that need to be downloaded