Jump to content

Download File Link


dudejma

Recommended Posts

One way to accomplish this is to store the files in question outside of your document root so that they are not directly accessible. Then create a PHP file to serve the files. Once you have that all you need to check if the user is logged in before you serve the file. You can look into readfile.

Link to comment
https://forums.phpfreaks.com/topic/245244-download-file-link/#findComment-1259628
Share on other sites

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.