开发者

download link php file

开发者 https://www.devze.com 2023-03-24 16:25 出处:网络
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 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

0

精彩评论

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