PHP: Let user download purchased file ONLY

后端 未结 5 1107
天命终不由人
天命终不由人 2021-02-06 13:32

I am forseeing a problem with allowing customers who purchase some content from me via PayPal. I will offer multiple, intangible goods. When someone completes their purchase for

5条回答
  •  醉梦人生
    2021-02-06 14:08

    You need to keep track of which items a user has purchased in a database. download.php can then check whether the user has purchased the item they're trying to download.

提交回复
热议问题