X7ROOT File Manager
Current Path:
/home/u126090504/domains/nistresidentialcollege.in/public_html
home
/
u126090504
/
domains
/
nistresidentialcollege.in
/
public_html
/
📁
..
📄
.htaccess
(2.31 KB)
📄
Courses-Offered.php
(2.07 KB)
📄
Nist-Backup.zip
(94.12 MB)
📄
about.php
(5.67 KB)
📄
achievers.php
(2.89 KB)
📁
admin
📄
admission.php
(4.36 KB)
📁
ajax-load
📄
career.php
(5.74 KB)
📄
cleanup_README.txt
(1.25 KB)
📄
contact.php
(4.99 KB)
📄
contactdb.php
(1018 B)
📄
courses.php
(14.88 KB)
📁
css
📄
examination.php
(3.26 KB)
📄
facilities.php
(7.06 KB)
📄
fees.php
(24.29 KB)
📁
fonts
📄
gallery.php
(3.51 KB)
📁
images
📄
index.php
(24.2 KB)
📁
js
📄
online-admission.php
(8.84 KB)
📄
secure_upload.php
(2.87 KB)
📄
showpath.php
(107 B)
📄
talent-search.php
(5.43 KB)
📄
viewpaymentdb.php
(1.26 KB)
Editing: viewpaymentdb.php
<?php require 'admin/database/dbconfig.php'; if (isset($_POST['payment_btn'])) { $name = $_POST['name']; $father = $_POST['father']; $mobile = $_POST['mobile']; $wp = $_POST['wp']; $stream = $_POST['stream']; $school = $_POST['school']; $per = $_POST['per']; $address = $_POST['address']; $aad = $_POST['aad']; $tid = $_POST['tid']; $st = $_FILES ['st'] ['name']; $query = "INSERT INTO `viewpayment`(`name`,`father`,`mobile`,`wp`,`stream`,`school`,`per`,`address`,`tid`,`st`,`aad`) VALUES ('$name','$father','$mobile','$wp','$stream','$school','$per','$address','$tid','$st','$aad')"; $query_run = mysqli_query($connection, $query); if ($query_run) { move_uploaded_file($_FILES["st"]["tmp_name"], "admin/recept/" . $_FILES['st']['name']); ?> <script> alert("Thanks! We will contact you soon"); window.location.href = "online-admission.php"; </script> <?php } else { ?> <script> alert("Sorry not submitted! Submit again"); window.location.href = "online-admission.php"; </script> <?php } } ?>
Upload File
Create Folder