Creating a confirmation page for unsubscribing user
This week I am going to show you a quick and easy way of to add a confirmation page when a user click “Unsubscribe” link from their email. This is useful when your contact accidentally click the “Unsubscribe” link.... With the current system, once your contact click unsubscribe, he/she will get unsubscribed stright away.
OK, first of all you need to rename the “unsubscribe.php” file to “unsubscribe_confirmed.php”... The file can be found in your Interspire Email Merketer (IEM) or SendStudio installation directory.
You then need to re-create “unsubscribe.php”, and copy-paste the following code to the file:
<form action="unsubscribe_confirmed.php" method="get">
<?php foreach ($_GET as $key => $value) { ?>
<input type="hidden" name="<?php print $key; ?>" value="<?php print $value; ?>" />
<?php } ?>
<div>
Please press the button below to UNSUBSCRIBE: </br>
<input type="submit" value="YES, Unsubscribe me" />
</div>
</form>And you are done. Oh I almost forgot, you CAN modify the HTML so that the confirmation page to look "pretty", but that's totally optional.
2 Responses to "Creating a confirmation page for unsubscribing user" 
|
said this on 02 Oct 2008 8:42:56 AM CST
This was perfect, quick, easy and helpful! Many thanks :-)
|
|
said this on 08 Apr 2009 10:57:01 PM CST
nice trick, 2 min. change tops. took longer to get past the security code to post the thanks!
|

Author/Admin)