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/tubeshemale.com/public_html/validateAccount.php
<?
session_start();
include('admin/db.php');
$id = mysql_real_escape_string($_GET[id]);
$title = 'Account Verification'; 
$headertitle = 'Account Verification';
$result = mysql_query("SELECT * FROM users WHERE validate = '$id' && validate != ''");
if(mysql_num_rows($result) < 1) {
	$message = "Invalid validation code!"; 
}
else {
	$message = "Your account has been successfully verified, and you may now <a href='/login.php'>login</a>.";
	mysql_query("UPDATE users SET validate = '' WHERE validate = '$id'");
}
include($basepath.'/templates/template.overall_header.php'); 
echo $message;
include($basepath.'/templates/template.overall_footer.php'); ?>