HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/camrub.com/public_html/includes/ajax.captcha.php
<?
include '../admin/db.php';
parse_str(urldecode($_POST[post]),$dataPost);

if($dataPost['captchaaa']) {

	if(strtolower($dataPost['captchaaa']) != strtolower($_SESSION[captcha])) {
		$data = array('error' => 'true', 'message' => base64_encode('<div class="notification error"><p>Incorrect CAPTCHA Response.</p></div>'));
		unset($_SESSION['correctCaptcha']);
	} else {
		$_SESSION['correctCaptcha'] = true;
		$data = array('error' => 'false', 'message' =>  base64_encode('<div class="notification success"><p>Correct Captcha</p></div>'));	
	}
		
} else {
	$data = array('error' => 'true', 'message' => base64_encode('<div class="notification alert"><p>Please type captcha code.</p></div>'));
	unset($_SESSION['correctCaptcha']);
}


echo json_encode($data);
?>