Server IP : 162.240.98.243 / Your IP : 18.189.170.134 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<?php session_start(); include("header.php"); require_once('../LoginManager.php'); require_once('../DBManager.php'); if(isset($_SESSION[uname])) { echo "<script>window.location='welcome.php';</script>"; } if(isset($_POST[submit])) { { $result=LoginManager::doLogin("$_POST[uname]","$_POST[password]"); if( $result) echo"<script>alert('ho gya..'); </script>"; else echo "<script>alert('Invalid login id and password entered..'); </script>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Clinic Appointment Application</title> <!-- Bootstrap --> <link href="bootstrap.minindex.css" rel="stylesheet"> <link href="styleindex.css" rel="stylesheet"> </head> <body> <div class="container"> <!-- start --> <div class="login-container"> <div id="output"></div> <div class="avatar"></div> <div class="form-box"> <form class="form" name="submit" role="form" method="POST" accept-charset="UTF-8"> <input name="uname" type="text" placeholder="Username" required> <input name="password" type="password" placeholder="Password" required> <button class="btn btn-info btn-block login" type="submit" name="submit">Login</button> </form> </div> </div> <!-- end --> </div> <script src="jqueryindex.js"></script> <!-- js start --> <!-- js end --> </body> </html>