Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Thanked 0 Times in 0 Posts

    Question Some sort of ecommerce system help needed

    Hey, I am looking for an ecommerce system or just the way how to achieve the following. I am wanting to store some MP3 sound files in a folder called for example 'sounds' on my web server. I then want to be able to stream the files onto my web pages but then I also want people to be able to purchase them. This is where I get confused, how can I achieve this without letting people just be able to download the 'sounds' directory off my web server. I am wanting to do this using PHP obviously. Thanks in advance for help

  2. #2
    Regular Coder
    Join Date
    Feb 2009
    Thanked 63 Times in 54 Posts

    This is a complex topic. I specialise in ecommerce and multimedia.

    Do you want to allow full quality samples? Full quality full files? Poor quality samples? ...

    Basically, you want to protect your sounds folder with either a .htaccess, or by placing it outside of your web root and having a PHP script verify access and read/write it directly to the browser.

    We need more information on your specific needs to give specific advice.
    lamped.co.uk :: Design, Development & Hosting
    marcgray.co.uk :: Technical blog


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts