如果我不想在我的服务器上上传内容,只需链接即可。
我只想这样:
SongID = Cint(Request.QueryString("SongID"))
if SongID = 1 then
Response.Redirect("http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3")
我刚从某个网站获取此代码。
那么我如何才能在适当的PHP中实现它以便它可以工作?
示例 -
http://link.songspk.info/indian_movie/0-9_List/download.php?id=79
重定向到 - http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3
答案 0 :(得分:2)
<?php
$songid = $_REQUEST['SongID'];
if($songid == 1)
{
header("Location: ".$songLink);
}
?>
答案 1 :(得分:1)
header('location: http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).mp3');
答案 2 :(得分:1)
标题( “位置:http://sound18.mp3pk.com/indian/3idiots/3idiots01(www.songs.pk).MP3”);应该做的伎俩