dongyong8071 2013-11-14 18:35
浏览 65
已采纳

如何更改下载URL PHP

i have must change (hide) a download url.

File to download: http://servdown.com/f1.rar User is on page: http://mypage.com/down.php?id=1

But i don't need a redericting to domain with file ( servdown.com/f1.rar ).

Please help, i find how to hide the actual download folder location ,but that's bad.

Sorry for my bad English, thank

  • 写回答

1条回答 默认 最新

  • dtg78700 2015-01-24 14:53
    关注

    You need to use some proxy type script which downloads the file remotely and then output the downloaded data ... There are many answers here , you just need to search you can get the exact code from there .

    Here is one link : How to Hide link

    Hope it helps ...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题