add password php file
<?php
$user = $_POST['user'];
$pass = $_POST['pass'];
if($user == "admin"
&& $pass == "admin")
{
include("secure.html");
}
else
{
if(isset($_POST))
{?>
<form method="POST" action="secure.php">
User <input type="text" name="user"></input><br/>
Pass <input type="password" name="pass"></input><br/>
<input type="submit" name="submit" value="Go"></input>
</form>
<?}
}
?>
Also in PHP:
- combine two query value in laravel 8
- create table and insert data in wordpress plugin
- array if key exist php
- check for type php
- No match for argument: phpmyadmin yum
- db seeder laravel 5
- How to Use Laravel
- css date function
- ! array_key_exists php
- PHP Warning
- echo date display week days php
- command to create new laravel project
- CURLAUTH_BEARER cannot find
- create a seed laravel
- clear cach aravel
- count duplicate in array and delete using php
- errors off php
- add to hours to variable date php
- creayte date in ph
- display error
- 2 time between add php
- fetch today data in php
- comments in php
- check if cookie exists php