Jump to content

Opening a download in a script on a website with an uploaded file


gsquare567

Recommended Posts

Unless I've misunderstood your question the easiest way is to have a php page that generates a link to each file in your upload directory.

 

  Use the directory functions eg scandir() to generate an list of the files you want (filter for the type of files you want to let the user download.

 

  Downloading is more an (x)html and browser thing than a php thing.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.