diff --git a/connect.php b/connect.php new file mode 100644 index 0000000..7263bd9 --- /dev/null +++ b/connect.php @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/index.php b/index.php new file mode 100644 index 0000000..f170ced --- /dev/null +++ b/index.php @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + Sign Up + + + + +
+

Sign Up to SHIKSHA

+

Please fill this form to create an account.

+
" method="post"> +
+ + + +
+
+ + + +
+
+ + + +
+
+ + +
+

Already have an account? Login here.

+
+
+ + + + + + + \ No newline at end of file diff --git a/login.php b/login.php new file mode 100644 index 0000000..3430f3f --- /dev/null +++ b/login.php @@ -0,0 +1,180 @@ + + + + +New Site + + + + +
+

SHIKSHA

+
+ +
+
+
"> +Login:
+Username:
+
+
+Password:
+
+
+
+ +

Don't have an account? Sign up now!

+
+
+ + + + + + + diff --git a/login.sql b/login.sql new file mode 100644 index 0000000..ad5ffb7 --- /dev/null +++ b/login.sql @@ -0,0 +1,49 @@ +-- phpMyAdmin SQL Dump +-- version 4.9.1 +-- https://www.phpmyadmin.net/ +-- +-- Host: 127.0.0.1 +-- Generation Time: Nov 12, 2019 at 10:04 AM +-- Server version: 10.4.8-MariaDB +-- PHP Version: 7.3.11 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `login` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `users` +-- + +CREATE TABLE `users` ( + `id` int(10) NOT NULL, + `username` varchar(25) NOT NULL, + `password` varchar(25) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; + +-- +-- Dumping data for table `users` +-- + +INSERT INTO `users` (`id`, `username`, `password`) VALUES +(0, 'sreebhattacharyya', '$2y$10$zNrFhrajJbmhZ6.OyN'), +(0, 'susmita123', '$2y$10$sYl0d9SOd1LpQ4sYCo'), +(0, 'sub123', '$2y$10$p2PwjaP53zxVUEJJfy'); +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;