Jump to content

Hide original downloads link through php


netlovers

Recommended Posts

I want to hide original download link in php
suppose i have 2 files with the following links
http://www.domain.com/file1.zip
and
http://www.domain.com/file2.zip
now i donot want to show these real link to users i want to create a file download.php
when this file calls like this
www.mydomain.com/download.php?id=1 it gives download of  file1.zip whose link mentioned above
and when download.php calls like this
www.mydomain.com/download.php?id=2 it gives download of  file2.zip whose link mentioned above
and so on
So plz help in this matter and tell me which function of php do i need to use in creating this do i need to use mysql.
Link to comment
https://forums.phpfreaks.com/topic/17944-hide-original-downloads-link-through-php/
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.