Feb 5th, 2011, 8:08 AM
I am trying to make sure that form submissions are unique with both email and IP address verification. I currently have the verification for the email address working, but I am wondering what the proper syntax is for the $criteria array using IP address: eg:
current
would it be?
I guess my confusion is that the form isn't actually posting the ip address as a hidden field and FT seems to be adding the IP field, so I'm not sure how to structure the variable name.
current
PHP Code:
$criteria = array(
"col_19" => $_POST["Email"]
);
would it be?
PHP Code:
$criteria = array(
"col_19" => $_POST["Email"],
"ip_address" => $_POST["ip_address"]
);
I guess my confusion is that the form isn't actually posting the ip address as a hidden field and FT seems to be adding the IP field, so I'm not sure how to structure the variable name.