Server IP : 162.240.98.243 / Your IP : 3.147.85.215 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 include("dbconnection.php"); ?> <?php $username = "ventexint@gmail.com"; $apikey = "eebcced9-0ca1-4a6f-940b-c616276e2ec9"; $sendername = "EASNUP"; session_start(); $sql ="SELECT * FROM site_users WHERE userkey='$_GET[userkey]'"; $qsql = mysqli_query($con,$sql); if($rd = mysqli_fetch_array($qsql)) { $uname=$rd['uname']; $password=$rd['password']; $name=$rd['name']; $numbers=$rd['numbers']; $message="Hello $name, Your user ID is $uname and Password is $password Regards, HAND Corp"; $message=urlencode($message); $sms ="http://login.aquasms.com/sendSMS?username=ventexint@gmail.com&message=$message&sendername=EASNUP&smstype=TRANS&numbers=$numbers&apikey=eebcced9-0ca1-4a6f-940b-c616276e2ec9"; //$sms=urlencode($sms); $result=file_get_contents($sms); if(mysqli_query($con, $sql)){ } } ?> <?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>Hospital Login</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"> <?php $sql ="SELECT * FROM site_users WHERE userkey='$_GET[userkey]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo" <input name='uname' value='$rs[uname]' type='hidden'> "; } ?> <input name="password" type="text" 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>