开发者

Redirected site files for desktop downloader

开发者 https://www.devze.com 2022-12-29 03:17 出处:网络
i temporarily change place for static files on site. But this files must have access from开发者_Python百科 old URL, i\'ve create a script that make\'s redirect to the right place, but this files are d

i temporarily change place for static files on site. But this files must have access from开发者_Python百科 old URL, i've create a script that make's redirect to the right place, but this files are downloading by third-part program.

The problem is that program ignoring redirect. I tryed to use permanent redirecting but no success.


Okay, so a redirect doesn't work.

What you can do is read the file in PHP and output it directly. You can use the function readfile() to do that.

readfile($filename);
0

精彩评论

暂无评论...
验证码 换一张
取 消