[ Index ]

PHP Cross Reference of Drupal 6 (heimberg)

title

Body

[close]

/ -> check_password.php (source)

   1  <?php
   2  //check password; redirect to login page if necessary

   3  $password = "medmal123";
   4  $password_given = "false";
   5  
   6  if ($_COOKIE["HLGCMPW"] == $password) 
   7     {
   8     $password_given = "true";
   9     }
  10     
  11  if ($_REQUEST[password] == $password)
  12     {
  13     $password_given = "true";
  14     }
  15     
  16  if ($password_given == "false")
  17     {
  18      header( 'Location: content_management.php' ) ;
  19     }
  20  
  21  ?>


Generated: Wed Mar 23 13:22:29 2011 Cross-referenced by PHPXref 0.7