Ideas not code
Posted 13 August 2006 - 05:30 PM
I have created an affiliation script
The affiliates log in and can check how much money they made
The admin uses the email address provided on registration to pay them with paypal.
The affiliate logs in using there email address and password
I was thinking, what if the user needs to change the email address for some reason, as we are talking about money here, what is the best way to do this
One idea I had was to send an email to the affiliate to there OLD email address, to confirm the changes.
This way, if someone else did hack in and change the email address so they get paid, the other guy knows
Anyone got any better ideas?
Posted 13 August 2006 - 05:51 PM
eg firstname.lastname@example.org wants to change their address to email@example.com
email firstname.lastname@example.org with a code and an explanation of what has happened, ask them to e-mail you this code from email@example.com.
Just a suggestion.
Posted 13 August 2006 - 06:04 PM
www.domain.com/emailchange.php?code=$rand_code&id=$id ($id is the number that is set for the company in the table, in the auto increment field)
emailchange.php will check if the value in $_GET['code'] is the same as in the database in the row where it's id is $_GET['id']. If there's a match, continue and change the email
(Gone until 20 to November)
Posted 13 August 2006 - 06:09 PM
Thanks guys, I might finish this tomorrow
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users