0byt3m1n1
Path:
/
home1
/
aserty
/
www
/
qct
/
[
Home
]
File: deleteip.php
<?php ########################################################################## ## Quality Click Tracking ## ## Version 2 Released 10/26/2010 ## ## ---------------------- ## ## By Sonja Ray Tropical Web Works ## ## (http://www.isoldwhat.com) ## ## ## ## You may NOT sell or redistribute this script without permission ## ## ## ## Copyright (c) 2010 TropicalWebWorks.com - All Rights Reserved ## ## This script is made available "as is" and ## ## no warrantees are express or implied ## ########################################################################## include 'connclicks.php'; if(!$_GET['ip']) {die('Please add ?ip=xxx.xxx.xxx.xxx to your URL to delete the IP');} if($_GET['confirm'] != "yes") { echo "This will delete all records of the IP Address " . $_GET['ip'] ; echo "<br><br>"; echo "If you DO NOT want to REMOVE this IP from the entire database close this WINDOW or TAB NOW..."; echo "<br><br>"; echo "To Delete the IP " . $_GET['ip'] . " "; echo '<a href="deleteip.php?ip='.$_GET['ip'].'&confirm=yes">Click HERE!</a>'; } else { echo "All records of the IP Address " . $_GET['ip'] . " have been DELETED!" ; $insertquery = "DELETE FROM $tablename WHERE `IP` = '".$_GET['ip']."'"; $insert = mysql_query($insertquery) or die('Bad insert query: ' . mysql_error()); } exit; ?>