| View previous topic :: View next topic |
| Author |
Message |
RockDiz
Joined: 05 May 2011 Posts: 59
|
Posted: May 18, 2011 5:17 pm Post subject: how to create direct link in index.cgi? |
|
|
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!!! |
|
| Back to top |
|
 |
RockDiz
Joined: 05 May 2011 Posts: 59
|
Posted: May 18, 2011 5:34 pm Post subject: |
|
|
and i would like to know how to get the mp3's duration, thanks!
i'm trying to create a playlist code, that's why |
|
| Back to top |
|
 |
lighta
Joined: 06 Jul 2011 Posts: 2
|
Posted: Jul 06, 2011 8:50 am Post subject: Re: how to create direct link in index.cgi? |
|
|
| 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 ! |
|
| Back to top |
|
 |
|