开发者

Redirected site files for desktop downloader

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜