| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/penpaleurope.com/backup/app/Penpal/ |
Upload File : |
<?php
include "general.php";
include "connect.php";
include 'sendmailclient.php';
$messageid =$_REQUEST["id"];
$encryp =$_REQUEST["en"];
$query = "select palid from penpalactivation where messageid ='$messageid' and encryption ='$encryp'";
$queryresponse = getQuery1($query);
if($queryresponse=="#"){
header('Location: login.php?err=2');
die();
}
$palid = $queryresponse;
$query = "select palid from penpalactivation where messageid ='$messageid' and encryption ='$encryp' and status ='1'";
$queryresponse = getQuery1($query);
if($queryresponse != "#"){
header('Location: login.php?err=3');
die();
}
//update penpalsubscriber
$query = "update penpalsubscriber set vemail ='1' where palid = '$palid'";
$queryresponse =updateQuery($query);
$query = "update penpalactivation set status ='1' where messageid ='$messageid' and encryption ='$encryp'";
$queryresponse =updateQuery($query);
header('Location: login.php?err=4');
die();
?>