Fifth pass at adding key files
This commit is contained in:
		
							
								
								
									
										13
									
								
								site/racecalendar/delete_X.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								site/racecalendar/delete_X.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
<?PHP
 | 
			
		||||
 | 
			
		||||
if (!$_POST){ header('Location: https://slowtwitch.com/calendar/'); }
 | 
			
		||||
 | 
			
		||||
include("config.php");
 | 
			
		||||
 | 
			
		||||
$sql = "DELETE FROM gforum_Triathlons WHERE uid = '$_POST[uid]'";
 | 
			
		||||
 | 
			
		||||
mysql_query($sql) or die(mysql_error());
 | 
			
		||||
 | 
			
		||||
header('Location: https://slowtwitch.com/calendar/');
 | 
			
		||||
 | 
			
		||||
?>
 | 
			
		||||
		Reference in New Issue
	
	Block a user