PHP Classes

File: login.php

Recommend this page to a friend!
  Classes of Ann   Purp Project   login.php   Download  
File: login.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Purp Project
Application to manage photo albums
Author: By
Last change: Update of login.php
Date: 1 year ago
Size: 1,230 bytes
 

Contents

Class file image Download
<?php
    session_start
();

    if(
$_SESSION['user']){
       
header('Location: profile.php');
    }
?>
<!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.0">
   
    <link href="styles/style.css" rel="stylesheet">
    <link href="styles/first-page.css" rel="stylesheet">


</head>
<body>
    <div class="page_content">
        <form class="form">
            <label>?????</label>
            <input type="text" name="login" placeholder="??????? ?????">
            <label>??????</label>
            <input type="password" name="password" placeholder="??????? ??????">
        <div class="message">
            <p class="msg none">Test</p>
        </div>
      
            <button type="submit" class="login-btn">?????</button>
            <p>??? ???????? ? ??????????? - <a href="register.php">?????????????????</a></p>
        </form>

    </div>
  



    <script src="js/jquery-3.5.1.js"></script>
    <script src="js/main.js"></script>

</body>
</html>