The Rise of the Religious Right in the Republican Party
a public information project from TheocracyWatch.org

Subscribe to TheocracyWatch News
 
0){ $conflink="http://www.theocracywatch.org/subscribe.php?id=" . mysql_result($result,0,"emailistid") . "&key=" . $akey; // send the confirmation link to email address $header = "From: TheocracyWatch \n"; $message="Please click the URL below to confirm your subscription to TheocracyWatch News:"; $message.= "\n\n" . $conflink; $message.="\n\nIf you do not wish to subscribe, just ignore this email, the subscription will not be activated."; $message.="\n\nThank you!\n\nwww.theocracywatch.org"; $ret=mail($_POST['email'],"Confirm subscription to TheocracyWatch News",$message,$header); $out="Your subscription is pending. Please check your email for confirmation instructions."; } else{ $out="error: " . mysql_error($db); } $done=1; } //confirmation links if($_GET['key']!="" && $_GET['id']!="" && $REQUEST_METHOD!="POST"){ $sql="SELECT * FROM email_list where emailistid=" . $_GET['id']; $result = mysql_query($sql,$db); if(mysql_num_rows($result)>0){ $id=mysql_result($result,0,"emailistid"); //confirm subscribe if(mysql_result($result,0,"mode")=="pending" && mysql_result($result,0,"confirmkey")==$_GET['key']){ $sql="update email_list set mode='ok' where emailistid=" . $id; mysql_query($sql,$db); $sql="SELECT * FROM email_list where emailistid=" . $id; $result = mysql_query($sql,$db); $out="Your subscription is now active."; } } $done=1; } ?>

Your email address:

You can unsubscribe here.

 

Privacy Policy

TheocracyWatch will not sell or otherwise provide subscriber information to other organizations. Your email address is used only for our email alerts.

Last updated: 24-Jan-2003