I have a table that has email addresses of all the subscribers to promotions, news letters and etc.
ID email
--------------------------
1 subsriber1@whatever.co.za
2 subsriber2@whatever.co.za
3 subsriber3@whatever.co.za
They would also like to unsubscribe.
So when I send them emails, I have a url at the end of the mail
http://www.whatever.com/unsubscribe.php?id=1
I'll use that id to update/delete that record to unsubscribe.
Is there a better way I can do this? I don't like using the query string for this, unless if I can encrypt the id it.
Btw, I'm using PHP.
ID email
--------------------------
1 subsriber1@whatever.co.za
2 subsriber2@whatever.co.za
3 subsriber3@whatever.co.za
They would also like to unsubscribe.
So when I send them emails, I have a url at the end of the mail
http://www.whatever.com/unsubscribe.php?id=1
I'll use that id to update/delete that record to unsubscribe.
Is there a better way I can do this? I don't like using the query string for this, unless if I can encrypt the id it.
Btw, I'm using PHP.