login - <?php /* * Invision PowerFile Manager * Admin...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?php < /* * Invision PowerFile Manager * Admin Login Page * Copyright (c) 2003 Invision Power Services * ------------------------------------- * You may not remove the copyright or * redistribute the script in any form * * Authors: Stephen Ball <stephen@invisionfilemanager.com> * * Last Modified: 22nd February 2003 * */ error_reporting(0); e if (!(include("./header.lib.php"))) { die("<p align=\"center\">There was an error loading the header module</p>"); } // See if the user is logging in and check their password $password = param("password", "POST"); if (empty($password) == FALSE) { if (md5($password) == $adminpass) { setcookie($cookie_admin, $adminpass); redirect("admin/index.php"); } else { $error = TRUE; setcookie($cookie_admin); } } else { setcookie($cookie_admin); } $pagetitle = "Please Log In"; $ $data = "<table border=\"0\" width=\"85%\" cellspacing=\"1\" cellpadding=\"4\" bgcolor=\"#000000\">\r\n"; $data .= " <tr>\r\n"; $data .= " <th align=\"left\" bgcolor=\"#4682B4\"><font face=\"Verdana,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/18/2011 for the course CSE 099 taught by Professor Hawkins during the Spring '11 term at N. Arizona.

Page1 / 2

login - &lt;?php /* * Invision PowerFile Manager * Admin...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online