Files
Testing/mailservices/bateworld/mail/inbox_update_evc.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

43 lines
560 B
PHP

<?php header('Content-type: application/json');
$result="Failed";
$em="";
if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/mailservices/includes/');
include(PATHTOINCLUDES."base.php");
$uid=$_GET["uid"];
$evc=$_GET["evc"];
$dbcon=dbconnect2();
if($uid !="" && $evc !=""){
$sql="UPDATE se_users SET user_pdp_evc = ".$evc." WHERE user_id = ".$uid;
$query=mysql_query($sql) or $em=$em.mysql_error();
if($em==""){$result="Success";}
}
$arr = array ('result'=>$result);
echo json_encode($arr);
?>