Publisher review:Building a secure admin area & .htaccess - Making a hardcoded Admin Password gateway using PHP First you will use a form to pass the $pw variable to the php script. When entering passwords into forms it is a good idea to use the "password" input box instead of the "text" one, so that as you type there are asterisks in place of the input.
Source Code
$adminpass = "test123";if ($pw == $adminpass){ print("Welcome to the administration area!");} else{ print("Wrong password");}?>
Building a secure admin area & .htaccess is a PHP script for Snippets scripts design by php-scripts.com.
It runs on following operating system: Windows / Linux / BSD.
Building a secure admin area & .htaccess - Making a hardcoded Admin Password gateway using PHP
Operating system:Windows / Linux / BSD