Jump to content

Recommended Posts

Hi,

 

I was wondering without going overboard with the 'shopping cart' theme, is there a way I could use perhaps a simple script with PayPal integration to sell images online. This needs to be downloadable digital images with once only URL or something like that.

 

Have no idea and wondering if there is a php script out there I could use.

 

Thanks for your help

I'd say if the transaction was complete and good, generate a unique code, place it in an sql table, and then send the user the link. once the page that link leads to is accessed, update that entry .

 

for instance, the table would look like

 

ID/image_name/unique_link/viewed.

 

viewed would start out as 0, once accessed it changes to 1. so the page cannot be viewed again.

 

to view the image, user clicks your custom link ie view_image.php?unique_link the page queries the db, finds 'image_name', and displays the image.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.