HTML PHP
HTML PHP
ht1.html <html lang=en> <head> <meta charset="utf-8"> <body> <form action="submit5.php" method="post"> <lable>username:<input type="text" name="user1"> </lable><br> <lable>password:<input type="password" name="password"> </lable><br> <input type="submit" name="ok"> </form> </body> </head> </html> submit5.php <?php $username=$_POST['user1']; $password=$_POST['password']; if($username=="submit" && $password=="cse") { print("welcome"); print("<html>"); print("<body>");
Output: