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
Resp开发者_如何学Conse.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?
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
<?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"); should do the trick
精彩评论