I have an internal site that lists PDF files in a folder on the server (Linux / Apache / PHP). Is there a way to create a button or link that automatically copies the selected PDF to another folder on the server. Basically, the list would show Document1.pdf. There would be a button or link next to it. If the user clicks this button or link, Document1.pdf would be automatically copied into /home/myuser/docsfolder (docsfolder is chmod 777'd). Any help would be much appreciated.
Automatically copy a file by clicking a button or link...
Collapse
X
Comment