Skip to content
Snippets Groups Projects
Commit 66fac692 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Really poor spam prevention

But it at least stops the current spam
parent 0cc4f257
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,9 @@ function escape_csv_value($value) {
}
}
if (!empty($_POST)) {
if (!empty($_POST)
&& $_POST['recycle_number'] < 1000 //very basic spam prevention
) {
$error_msg = '';
if (in_array($_POST['location'], array("lied","union","sheldon","wick"))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment