login02.php to HTML

index

USE AT OWN RISK

Generated: Tue Jul 31 15:22:08 2007 from login02.php 2006/03/15 363 bytes.

<?php
if( isset($_GET['login']) ) { 
   // establish user name and password
   $username = 'user2'; 
   $password = 'pass2'; 
   // get user input from POST
   $form_user = $_POST['username']; 
   $form_pass = $_POST['password']; 

   if ($username == $form_user && $password == $form_pass) { 
   // SUCCESS - fall in to SHOW the desired content, hidden by LOGIN
?>

index

Valid HTML 4.01 Transitional