![]() |
|
#11
|
|||
|
|||
|
YEAH!
just added the captcha to my form and is validating the entry SO COOL! i feel like a kid in a candy shop. Thanks everyone!!!!!!!!! |
|
#12
|
|||
|
|||
|
Hello again!
Ok so last night i may have got alittle bit over excited when i said i have a captcha (working). Im having a little problem with the validation markup. im using php5 and i get a parse error telling me unexpected T_UNSET blah blah.....the usual for me. this is my code: <?php session_start(); if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code'])) ) { $firstname = $_REQUEST['firstname']; $lastname = $_REQUEST['lastname']; $city = $_REQUEST['city']; $pictue = $_REQUEST['picture']; $email =$_REQUEST['email']; mail( "some email","Feedback Form Results", $message, "From: $email"); header("location:../artist_member/thank_you1.html") unset ($_SESSION['security_code']); } else { header ("location:../artist_member/sorry_error.html") } ?> am i using the wrong php syntax? really appreciate the help. Ben |