Answer the question
In order to leave comments, you need to log in
How to organize access to paid materials on the site?
Good afternoon! It is necessary to organize access to paid content on the site. Making a personal account with a login and password for everyone is long and dreary, so it’s not an option.
In addition, the following options come to mind:
1. Just set a password on the page that is the same for everyone. But there are a lot of minuses here: the password is easy to transfer to each other, and also some browsers incorrectly perceive the script and do not ask for a password, but immediately open access to the content.
2. The second thing that comes to mind is to request a person's email, check it against the email database of users who have paid, and if paid, redirect to the content page, and if NOT paid - to the payment page. Please tell me the script how to do it right
Or please suggest other options! Thank you in advance. The site is written in HTML and PHP
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question