[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: over_exam.php
<?php include('header.php'); $paper=$_REQUEST['paper']; $exam_id=$_REQUEST['exam_id']; ?> <div id="page-wrapper"> <div class="main-page"> <div class="row"> <div class="col-md-12"> <div class="alert alert-success" role="alert" style="margin:0;"> <div class="alert_logo"><h1 class="glyphicon glyphicon-user"></h1></div> <?php //include('ids.php'); $sq="select sum(marks) as m from exam_score where paper_no='".$paper."' and exam_id='".$exam_id."'"; $r=mysqli_query($con,$sq) or die(mysqli_error($con)); $row=mysqli_fetch_array($r); $marks=$row['m']; $sq1="update exam set marks='".$marks."',status='done' where exam_id='".$exam_id."'"; $r1=mysqli_query($con,$sq1); if($r1){ // echo "<script>alert('Your Exam is done.Thank you!!.You will be loged out. Please Login to see the score.');window.location.href='logout.php'</script>"; } ?> <div class="alert_content"><strong><a href="edit_client.php?id=<?php echo $_SESSION['id']; ?>">Your Exam is over Thank you</a></strong></div> </div> </div> </div> </div> </div> <!--footer--> <?php include('footer.php'); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 677.97 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619