The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Dear Symtab,
I did have opportunity to setup Apache streaming on server with ASP script but found your secure Apache code rather not for use.
In older version of ASP such code is even completely empty....
In Apache config I set streaming location for "/media/videos/". Then I rewrote Apache secure code to something like this:
public static function secure_apache($url, $video_id, $ext, $key, $hd, $trailer = false)
{
$trailer = ($trailer) ? '.trailer' : '';
if($ext == 'mobile') $file='/mobile/'.$video_id.$trailer.'.mp4'; else $file= '/'.$ext.'/'.$video_id.$hd.$trailer.'.'.$ext;
$hexTime = dechex(time());
$token = md5($key . $file. $hexTime);
return $url . $token. "/" . $hexTime . $file;
}
Note that I also had to change params in function.
Basically secure streaming with new code worked well for a client. But the problem was with option to download video.
I didn't have time to verify it. Per user request I switched off secure streaming, left only Apache HTTP pseudostreaming on.
Offline
Hmm...i've setup apache with secure streaming several times and it should work correctly. Download also works because the url is generated when you click the download button. No idea exactly why it didnt work for you.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I don't know. I say what I found in 1 client function. There was no even $key in function params. Rest of function was also messed. I don't know how it looks for other clients files, didn't have opportunity to see it. Also do not have ASP2 files myself. Lost it somewhere what you once sent.
Offline
Will send you the 2.x archive again!
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1