One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
nportal.andjemztech.com
/
examAdmin
/
View File Name :
appDetails.php
<?php include "inc/header.php"; include "inc/config.php"; $appType=$_GET['appType']; $sql=mysql_query("SELECT * FROM applicationtype WHERE appTypeID='$appType'"); $row=mysql_fetch_array($sql); ?> <script src="//tinymce.cachefly.net/4.2/tinymce.min.js"></script> <script>tinymce.init({selector:'textarea'});</script> <div style="width:600px; margin-top:40px;"> <?php if($_POST['submit']){ $name=$_POST['name']; $desc=$_POST['desc']; $amount=$_POST['amount']; $update=mysql_query("UPDATE applicationtype SET appTypeName='$name',appTypeDesc='$desc',appTypeFee='$amount' WHERE appTypeID='$appType'"); if($update){ echo "Application Type Successfully Updated"; header('refresh: 2; url=requirements.php'); exit; } } ?> <form action="" method="POST"> <table> <tr><td>Name</td><td><input type="text" name="name" required="required" value="<?php echo $row['appTypeName']; ?>" size="60" /></td></tr> <tr><td>Description</td><td><textarea name="desc" required="required"><?php echo $row['appTypeDesc']; ?></textarea></td></tr> <tr><td>Amount</td><td><input type="number" required="required" name="amount" value="<?php echo $row['appTypeFee']; ?>" /></td></tr> <tr><td colspan="2"><input type="submit" name="submit" value="Update" /></td></tr> </table> </form> </div>