X7ROOT File Manager
Current Path:
/home/u126090504/domains/cecodisha.in/public_html/admin
home
/
u126090504
/
domains
/
cecodisha.in
/
public_html
/
admin
/
📁
..
📄
.htaccess
(2.11 KB)
📄
banner.php
(4.13 KB)
📄
code.php
(19.4 KB)
📁
css
📁
database
📁
faculty
📄
fboard.php
(6.04 KB)
📄
fboard_edit.php
(2.94 KB)
📁
files
📄
franchise.php
(5.62 KB)
📄
franchise_edit.php
(2.64 KB)
📄
galleryedit.php
(4.2 KB)
📁
galleryimages
📁
imagedata
📁
img
📁
includes
📄
index.php
(3.44 KB)
📁
js
📄
login.php
(1.99 KB)
📄
logincode.php
(614 B)
📄
logout.php
(81 B)
📄
nboard.php
(5.25 KB)
📄
nboard_edit.php
(2.23 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