I have a script so when a user enters an incorrect CAPTCHA on the contact me form I have it saves the users form data to a cookie so it can be recalled when the user has to re-enter the CAPTCHA. But it's not saving the cookie, I've checked the Chrome Debugger, and it's not doing anything.
Here's the code, I've checked that the variables are successfully working before anyone asks ;)
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
setcookie("name", $name, time()+3600, "/", "http://pattersoncode.ca");
setcookie("email", $email, time()+3600, "/", "http://pattersoncode.ca");
setcookie("message", $message, time()+3600, "/", "http://pattersoncode.ca");