| 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/ |
Upload File : |
<?php
include "general.php";
include "connect.php";
include 'sendmailclient.php';
$messageid =$_REQUEST["id"];
$encryp =$_REQUEST["en"];
$query = "select palid from penpalemailmessage where messageid ='$messageid' and encryption ='$encryp'";
$palidother = getQuery1($query);
if($palidother=="#"){
header('Location: login.php?err=31');
die();
}
$query = "select palidother from penpalemailmessage where messageid ='$messageid' and encryption ='$encryp'";
$palid = getQuery1($query);
//$palid = $queryresponse;
//update penpalsubscriber
$query = "update penpalmessageoffline set status='0' where palid = '$palidother' and palidother = '$palid'";
//echo $query;
//die();
$queryresponse =updateQuery($query);
$query = "update penpalemailmessage set status ='1' where messageid ='$messageid' and encryption ='$encryp'";
$queryresponse =updateQuery($query);
//$query = "select nickname from penpalsubscriber where palid ='$palid'";
//$queryresponse = getQuery1($query);
//$_SESSION['palid']= $palid;
//$_SESSION['nickname']= $nickname;
$_SESSION['redirectpage'] ="/penpal/messagebox.php";
header('Location: /penpal/messagebox.php');
die();
?>