0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.131.37.82


Current Path : /var/www/html/studentportal_wait/src_old/
Upload File :
Current File : /var/www/html/studentportal_wait/src_old/examapp_iframe.php

<?php

include ("database.php");

include("commandb.php");

//session_start();
$UNIVCODE  = $_SESSION['UNIVCODE'];

/*$query = "INSERT INTO menulog(funivcode,fdate,fexamapplication)
VALUES('{$UNIVCODE}',date_format(now(),'%Y-%m-%d'),1)
ON DUPLICATE KEY UPDATE fexamapplication = if(ifnull(fexamapplication,'') = '', 1,fexamapplication+1)";

$results = mysqli_query($conndb,$query);

$strUserLogQuery = "insert into userlog 
	(funivcode, fregno, fmobileno, fipadd, FREASONCODE, FDESCPN)
	values ('{$_SESSION['UNIVCODE']}', '{$_SESSION['REGNO']}', 
	'{$_SESSION['MOBILE']}', '{$_SERVER['REMOTE_ADDR']}', 
	'EXMN', 'EXMN - {$_SESSION['REGNO']} Viewed Exam Application')";
$result = mysqli_query($conndb,$strUserLogQuery);
*/
if($_SESSION['EXAMBLK'] != 'T')
{
	$row['status'] = 'success';

	$parameters = "r=".$_SESSION['REGNO']."&c=".$_SESSION['CATEGORY']."&li=".$_SESSION['FEETYPE']."&iframe=true";

	/*$row['url'] = 'http://logisys.net.in/student/'.$_SESSION['FOLDER'].'/student.php?'.$parameters;*/
	$row['url'] = $_SESSION['FOLDER'].'/student.php?'.$parameters;
}
else
{
	$row['status'] = 'blocked';
}
echo json_encode($row);

?>