i downloaded the attached code from a website and tried to implement it, but cannot get it to work. there are no errors, it just does not work as intended. basically what it does is uses php to call a flash file and hides the name/path of the flash file to prevent people from downloading. not sure what i am doing wrong as it should work just like it is. so i need someone to troubleshoot/fix this. maybe it is server issue? p.s the script works the following: example.php calls flash.php which has the path to the flash file. direct access to flash.php is restricted.
Additional Project Description:
07/02/2013 at 11:48 AKDT
p.s you will see that the absolute path to the flash file is required. my absolute path is correct so this is not the issue. also the way in which the script works must not be changed.
07/02/2013 at 11:57 AKDT
you can see the original script here: http://ryanfait.com/resources/protect-flash-files-from-download/.