if (session_id() == "") { session_start(); } if ($_SERVER['REQUEST_METHOD'] == 'POST') { if (isset($_POST['captcha_code'],$_SESSION['random_txt']) && md5($_POST['captcha_code']) == $_SESSION['random_txt']) { unset($_POST['captcha_code'],$_SESSION['random_txt']); } else { $errorcode = file_get_contents('./feedback_form_fail.php'); $replace = "##error##"; $errorcode = str_replace($replace, 'The entered code was wrong.', $errorcode); echo $errorcode; exit; } } ?> :: Trinity Pharmaceuticals & Food Pvt. Ltd ::
Name:
Email:
Feedback:
City:
Contact No
Feedback
Click for new image