Log in

View Full Version : members registration form and password delivery system



goonster
06-05-2007, 03:30 PM
I'm building a website that needs the following functions.
- A members registration form.
- A password delivery (via email) system that will allow members to login and view restricted pages/content, only after payment has been received via paypal.

I have a number of pages that I want to be available only to those who have paid a membership.

Is their an easy way to do this using just one script?
Or will I need a number of different scripts?

Any advice will be much appreciated

Many thanks
G

djr33
06-05-2007, 06:05 PM
You can use php and mysql to create a database that will track the users, etc.
http://php-mysql-tutorial.com

the PHP mail() function will allow for that email to be sent (assuming your server is configured to handle that).
http://www.php.net/manual/en/function.mail.php

As for paypal, that makes things complex. It's simple enough to store a true or false value for 'verified payment', etc. in the database, but getting this value from paypal may be difficult. I suggest looking at the documentation on their site to see how you can best interact with their databases, if at all.

goonster
06-05-2007, 07:30 PM
Thanks eversome much.