![]() |
php help needed - for image selling website .. hello, i am developing a image selling website. people can download image after payment complete. ( paypal am using as payment getway) after payment the image url will be sent to the mail . these images located in ' sellimage ' folder on my server. the problem is if some one know about this folder (mywebsiteurl/selimage ) they can download all files !!!!! how this type of website working , how can i do it securely ??? any idea thanks in advance |
Re: php help needed - for image selling website .. You can block the folder through htaccess. Also on download do not deliver the image directly, deliver it through something like readfile() function. |
Re: php help needed - for image selling website .. Like the above poster said, htaccess might be your best option. |
Re: php help needed - for image selling website .. For a business model like this, I would recommend using a professional content protection solution. For Wordpress, I can recommend DAP WordPress Membership Plugin - Membership Script For WordPress Blogs And Regular Web Sites - no affiliate link. Cheers, Rob |
Re: php help needed - for image selling website .. Im sure there are many pre-made systems that already do what you want to do. My favorite CMS system is jamroom Jamroom: The Musician Community Builder It has the ability for you to sell photos. (or allow your users to upload and sell their photos) |
| All times are GMT -6. The time now is 03:56 PM. |