Page Protect Simply add the below lines to the php pages that you want to protect. Only logged in users can see the page. // SESSION CHECK SET OR NOT if (!isset($_SESSION[‘name’])) { header(‘location: index.php’); } Installation Make database connection setting in config.php file Create database using phpmyadmin or whatever way you like Now open…
Tag: pdo
Ajax Login And Register using PHP and PDO
Ajax Login And Register using PDO This script is used for register and login to website using PDO. The design is completely responsive Very simple steps to use Login and Register on your website. STEPS: Create database using phpmyadmin or whatever way you like Make database connection setting in config.php file Now open http://localhost/login-script/install.php in…