Hi,
I want to migrate from Lighty too. Works so far but i need to use that "secdownload" functionality of Lighty.
I tried ntr0pies solution, but can't get it to work because of that time-value ... i think. I get a 404 everytime.
My Script pulls the url like this:
[code]
public static function secdownload_url($video_id, $ext, $key)
{
$file = ($ext == 'mobile') ? '/mobile/'.$video_id.'.mp4' : '/'.$ext.'/'.$video_id.'.'.$ext;
$hex = sprintf("%08x", time());
return md5($key.$file.$hex).'/'.$hex.$file;
}
[/code]
Maybe someone can help me with that. Thank you very much.