XFileSharing Pro - how to create direct link in index.cgi?

Message
Author
RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

how to create direct link in index.cgi?

#1 Postby RockDiz » May 18, 2011 5:17 pm

So I'm trying to edit my export list page, and I want to allow users to export direct mp3 links to the exact location so it would be like hotlinking.
I don't know how to create a command or whatever. can anyone help?

i know " $file->{download_link} = $ses->makeFileLink($file);"

makes the file link (to the download page)

but i want it to be a direct link.
thanks so much in advanced!!!

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#2 Postby RockDiz » May 18, 2011 5:34 pm

and i would like to know how to get the mp3's duration, thanks! :D
i'm trying to create a playlist code, that's why

lighta
Posts: 2
Joined: Jul 06, 2011 8:23 am

Re: how to create direct link in index.cgi?

#3 Postby lighta » Jul 06, 2011 8:50 am

RockDiz wrote:So I'm trying to edit my export list page, and I want to allow users to export direct mp3 links to the exact location so it would be like hotlinking.
I don't know how to create a command or whatever. can anyone help?

i know " $file->{download_link} = $ses->makeFileLink($file);"

makes the file link (to the download page)

but i want it to be a direct link.
thanks so much in advanced!!!


From what I understood in this script you can't do this because we do not know how links is built, $ses->... code is crypt !


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests