Help to create code for use in the same brs
$mysecretkey = "mysecretkey";
$expiry = strtotime("+1 hour");
$b64 = base64_encode(md5($mysecretkey.$expiry,true));
$b64u = rtrim(str_replace(array('+','/'),array('-','_'),$b64),'=');
echo "http://sample.com/$path?e=$expiry&st=$b64u\n";
Our system http://www.rokumanager.com