Sorry for weired questions but I am not PHP guy and don't know how to solve the issues. I have created silverlight application and I am offering live streaming to my paid users. And with following code my users are watching livestream depending on their user levels but as you see on my root directory silverlight application is placed. If you point on your browser url of this file you can download.
My question is, if I put this file into s2member-files directory, may I protect to download directly?
- Code: Select all
<?php } else if (current_user_is("s2member_level3")){ ?>
<?php } else if (current_user_is("s2member_level2")){ ?>
<?php } else if (current_user_is("s2member_level1")){ ?>
etc...
Thanks to everyone