/home/desid573/ov.desidrivers.com.au
NameSizeModeActions
cgi-bin/-0755rm
dgprvnm/-0755rm
eyrbcg1/-0755rm
fhobatr/-0755rm
mailer/-0755rm
tkezxvw/-0755rm
.htaccess2810644editdlrm
addblock.php24910644editdlrm
block.php152690644editdlrm
blockadd.php19290644editdlrm
charter.html42230644editdlrm
charter.php00644editdlrm
FileWatcher-master.zip2473880644editdlrm
index.php45400644editdlrm
pwhtfrcp.php73170644editdlrm
register.php52660644editdlrm
wp-cron-j9hi.php16590644editdlrm
Edit: /home/desid573/ov.desidrivers.com.au/blockadd.php (1929B)
connect_error); $variety = $_POST["variety"]; if($variety == "other") { $variety = $_POST["variety-other"]; } $rootstock_bool = $_POST["rootstock_bool"]; if($rootstock_bool == "rootstock") { $rootstock = $_POST["rootstock"]; if($rootstock == "other") { $rootstock = $_POST["rootstock-other"]; } } else { $rootstock = ""; } $soil = $_POST["soil"]; if($soil == "other") { $soil = $_POST["soil-other"]; } $training = $_POST["training"]; if($training == "other") { $training = $_POST["training-other"]; } $orientation = $_POST["orientation"]; if($orientation == "other") { $orientation = $_POST["orientation-other"]; } $query = "INSERT INTO `block`(`id`, `vid`, `old_vine`, `variety`, `year`, `block`, `clone`, `no_vines`, `area`, `rootstock_bool`, `rootstock`, `soil_type`, `training`, `orientation`) VALUES (NULL,".$_POST["vid"].",'".$_POST["age"]."','".$variety."','".$_POST["year"]."','".$_POST["block"]."','".$_POST["clone"]."','".$_POST["vines"]."','".$_POST["area"]."','".$rootstock_bool."','".$rootstock."','".$soil."','".$training."','".$orientation."')"; $result = $conn->query($query); if(!$result) { error_log("error adding block ".$conn->error); header('Location: block.php?redirect=error&id='.$_POST["login_code"]); exit; } else { header('Location: block.php?redirect=success&id='.$_POST["login_code"]); exit; }