Created
January 15, 2017 11:44
-
-
Save anonymous/e52cb7785f4446c3c6b75bebee942232 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include "config.php"; | |
$key = $_GET['key']; | |
$query = mysql_query("DELETE FROM users WHERE hash='$key'"); | |
if ($query) { | |
echo "<h1>You have Unsubscribed!</h1>"; | |
}else{ | |
mysql_errno(); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment