Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 7th Dec 2011, 04:06 AM   #1
Warrior Member
 
Join Date: 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
php help needed - for image selling website ..
Share on: 
fb share twitter share gplus share more share

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
amrta is offline  
Unread 7th Dec 2011, 09:04 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: 2010
Location: Internet
Posts: 101
Thanks: 31
Thanked 19 Times in 12 Posts
Blog Entries: 1
Default
Re: php help needed - for image selling website ..
Share on: 
fb share twitter share gplus share more share

You can block the folder through htaccess. Also on download do not deliver the image directly, deliver it through something like readfile() function.

rahman.warrior is offline  
Unread 8th Dec 2011, 06:33 PM   #3
HyperActive Warrior
 
Join Date: 2011
Posts: 125
Thanks: 4
Thanked 9 Times in 8 Posts
Default
Re: php help needed - for image selling website ..
Share on: 
fb share twitter share gplus share more share

Like the above poster said, htaccess might be your best option.

Rankx is offline  
Unread 8th Dec 2011, 06:38 PM   #4
Marketing with an accent.
War Room Member
 
RobKonrad's Avatar
 
Join Date: 2010
Location: Switzerland
Posts: 556
Thanks: 103
Thanked 179 Times in 135 Posts
Default
Re: php help needed - for image selling website ..
Share on: 
fb share twitter share gplus share more share

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

================================================== ===
This blog is awesome: http://www.robkonrad.com/blog. Read it.
================================================== ===
RobKonrad is offline  
The Following User Says Thank You to RobKonrad For This Useful Post:
Unread 11th Dec 2011, 05:14 PM   #5
HyperActive Warrior
War Room Member
 
ussher's Avatar
 
Join Date: 2010
Location: Tokyo
Posts: 314
Thanks: 27
Thanked 43 Times in 42 Posts
Default
Re: php help needed - for image selling website ..
Share on: 
fb share twitter share gplus share more share

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)

"Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."
- jamroom.net
Download Jamroom free: Download
ussher is offline  
Closed Thread


Bookmarks

Tags
needed, php


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:21 PM.