[英]download link php file
If I don't want to upload content on my server, just link it. 如果我不想在服务器上上传内容,只需链接它即可。
I just want like this : 我只想要这样:
SongID = Cint(Request.QueryString("SongID"))
if SongID = 1 then
Response.Redirect("http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3")
I just got this code from some site. 我只是从某个站点获得此代码。
So how I can make it in proper PHP so it can work? 那么,如何才能在适当的PHP中使其正常工作呢?
Example - 范例-
http://link.songspk.info/indian_movie/0-9_List/download.php?id=79
it redirects to - http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3
它重定向到http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3
//sound18.mp3pk.com/indian/3idiots/3idiots01( http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3
<?php
$songid = $_REQUEST['SongID'];
if($songid == 1)
{
header("Location: ".$songLink);
}
?>
header('location: http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3');
header("location:http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3"); 标题( “位置:http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).MP3”); should do the trick 应该可以
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.