Server IP : 103.118.17.23 / Your IP : 216.73.216.188 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/panel/dreameditor/data/ |
Upload File : |
<?php session_start(); // Session start if(isset($_POST['check'])) // Check form submit with IF Isset function { $username="mesa83"; // set variable value $password="mesa#turkewadi"; // set variable value if($_POST['username']==$username && $_POST['password']==$password) // Check Given user name, password and Variable user name password are same { $_SESSION['username']=$username; // set session from given user name header('location:dialog.php'); } else { $err="Incorrect Password!"; } } ?> <html> <head> <title>Main Page</title> <link rel="stylesheet" href="css/style_log.css" type="text/css" media="all" /> <link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css' /> <link href='http://fonts.googleapis.com/css?family=Lato:300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css' /> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css' /> </head> <body> <!-- Print Error --> <section class="content_section bg5"> <div class="content row_spacer centered clearfix"> <div class="main_title side_line centered upper"> <h2><span class="line"></span>Mahadevrao Wandre Institute of Technology</h2> </div> <div class="my_col_half on_the_center centered clearfix"> <form method="POST" name="loginauth" target="_self" class="login_form_colored shadow1 login_flip flip_top"> <div class="lfc_user_row"> <span class="lfc_header">Login to your Account</span> </div> <div class="lfc_user_row"> <label for="login_password"> <span class="label_space"> <span class="hm_field_name">Password</span> <span class="hm_requires_star">*</span> </span><input class="input_no_icon" type="hidden" name="username" id="username" value="mesa83" > <input class="input_no_icon" type="password" name="password" id="password"> </label> </div> <div class="lfc_user_row clearfix"> <div class="my_col_third"> <?php if(isset($err)){ echo $err; } ?> </div> </div> <div class="clearfix"> <button type="submit" name="check" class="send_button f_right margin_left_a"> Log in </button> </div> </form> </div> </div> </section> <!-- End Section --><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p> <div align="center">Developed by <a href="http://www.dreamindia.net" target="_blank" >Dream Computer</a></div> </body> </html>