I want to offer full length previews while downloads will be purchased. I placed the downloads folder outside of the public web space, but when I set the path in the same manner for the Previews folder (in this case home/loulanza/Previews) - it gives me these errors when I try to add a track:
"Warning JFolder: :files: Path is not a folder. Path: /home/loulanza/public_html/home/loulanza/Previews/released-cds/the-road-not-taken"
"Warning: Invalid argument supplied for foreach() in /home/loulanza/public_html/administrator/components/com_mymuse/models/product.php on line 834"
Any suggestions for how I can protect the preview files?
Previews have to be accessible from the web so the player can play them.
Perhaps with some code I could server them from outside the web root, but
if a person can play it, they can find a way to download it.