Convert line endings from MAC to UNIX
[php-addressbook.git] / register / readme.php
index 3e05a12..3462ef5 100644 (file)
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r\r
-<head>\r\r
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r\r
-<title>Basic Login Readme</title>\r\r
-</head>\r\r
-\r\r
-<body>\r\r
-<div style="text-align:left; width:800px; margin-top:10px;">\r\r
-  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Basic Login is a basic PHP login script that can be  downloaded used and modified under the general user public license  provisions.&nbsp; This is not a PHP login  script for a government institution or fortune 500 company as it uses standard  encryption and cookie based user identification that a determined hacker might  exploit.&nbsp; It is, however, perfect for a  standard website that would benefit from a basic PHP to MySQL login script that  is easy to deploy and uses standard methods of restricting access and granting  permissions.</font></p>\r\r
-  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">After writing countless PHP login scripts using various  combinations of standard components tailored to the needs of the sites for  which they were designed, I got wise and distilled the elements that I used  most frequently into a basic application that can be easily uploaded and  deployed on any project I was working on.&nbsp;  While there are no grand inventions happening here, Basic Login should  do what you need it to do right out of the gate.&nbsp; Features, functions and components are as  follows:</font></p>\r\r
-  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">PHP to MySQL structure<br />\r\r
-    Password encryption<br />\r\r
-    Email forgotten password hint<br />\r\r
-    Email password change/ recreation<br />\r\r
-    New user account creation with error handling<br />\r\r
-    User permission level control<br />\r\r
-    User login routing by permission on login<br />\r\r
-    Central configuration file<br />\r\r
-    Administrative user management report<br />\r\r
-    First user gets admin permissions</font></p>\r\r
-  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Using Basic Login is easy:</font></p>\r\r
-  <ol start="1" type="1">\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Download       Basic Login files</font></li>\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Unzip       Basic Login files</font></li>\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Upload       Basic Login files to a directory of your choice</font></li>\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Create       users table in MySQL:<br />\r\r
-      Just run this query or cut and paste the following code into the SQL       window of phpmyadmin or an equivalent MySQL control panel:</font></li>\r\r
-  </ol>\r\r
-  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">CREATE TABLE `users` (<br />\r\r
-&nbsp;  `id` int(11) NOT NULL auto_increment,<br />\r\r
-&nbsp;  `username` varchar(50) NOT NULL default '',<br />\r\r
-&nbsp;  `password` varchar(150) NOT NULL default '',<br />\r\r
-&nbsp;  `password_hint` varchar(255) NOT NULL default '',<br />\r\r
-&nbsp;  `lastname` varchar(50) NOT NULL default '',<br />\r\r
-&nbsp;  `firstname` varchar(50) NOT NULL default '',<br />\r\r
-&nbsp;  `email` varchar(100) NOT NULL default '',<br />\r\r
-&nbsp;  `phone` varchar(50) NOT NULL default '',<br />\r\r
-&nbsp;  `address1` varchar(100) NOT NULL default '',<br />\r\r
-&nbsp;  `address2` varchar(100) NOT NULL default '',<br />\r\r
-&nbsp;  `city` varchar(80) NOT NULL default '',<br />\r\r
-&nbsp;  `state` varchar(20) NOT NULL default '',<br />\r\r
-&nbsp;  `zip` varchar(20) NOT NULL default '',<br />\r\r
-&nbsp;  `country` varchar(50) NOT NULL default '',<br />\r\r
-&nbsp;  `url` varchar(125) NOT NULL default '',<br />\r\r
-&nbsp;  `permissions` varchar(20) NOT NULL default '1',<br />\r\r
-&nbsp;  PRIMARY KEY&nbsp; (`id`)<br />\r\r
-)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></p>\r\r
-  <ol start="5" type="1">\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Open       login_config.php and set the configuration values as desired</font></li>\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Add       your first account.&nbsp; It will be       configured as the administrator by default.&nbsp; </font></li>\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Put pages behind the security framework &lt; ? include &quot;auth_check_header&quot;; ?&gt; at the very top of any pages that are for members only. Make sure they are in the same directory as the Basic Login files. </font></li>\r\r
-    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Happy       coding!</font></li>\r\r
-  </ol>\r\r
-  <p class="submit">&nbsp;</p>\r\r
-  <p>&nbsp; </p>\r\r
-</div>\r\r
-</body>\r\r
-</html>\r\r
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+\r
+<html xmlns="http://www.w3.org/1999/xhtml">
+\r
+<head>
+\r
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+\r
+<title>Basic Login Readme</title>
+\r
+</head>
+\r
+
+\r
+<body>
+\r
+<div style="text-align:left; width:800px; margin-top:10px;">
+\r
+  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Basic Login is a basic PHP login script that can be  downloaded used and modified under the general user public license  provisions.&nbsp; This is not a PHP login  script for a government institution or fortune 500 company as it uses standard  encryption and cookie based user identification that a determined hacker might  exploit.&nbsp; It is, however, perfect for a  standard website that would benefit from a basic PHP to MySQL login script that  is easy to deploy and uses standard methods of restricting access and granting  permissions.</font></p>
+\r
+  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">After writing countless PHP login scripts using various  combinations of standard components tailored to the needs of the sites for  which they were designed, I got wise and distilled the elements that I used  most frequently into a basic application that can be easily uploaded and  deployed on any project I was working on.&nbsp;  While there are no grand inventions happening here, Basic Login should  do what you need it to do right out of the gate.&nbsp; Features, functions and components are as  follows:</font></p>
+\r
+  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">PHP to MySQL structure<br />
+\r
+    Password encryption<br />
+\r
+    Email forgotten password hint<br />
+\r
+    Email password change/ recreation<br />
+\r
+    New user account creation with error handling<br />
+\r
+    User permission level control<br />
+\r
+    User login routing by permission on login<br />
+\r
+    Central configuration file<br />
+\r
+    Administrative user management report<br />
+\r
+    First user gets admin permissions</font></p>
+\r
+  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Using Basic Login is easy:</font></p>
+\r
+  <ol start="1" type="1">
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Download       Basic Login files</font></li>
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Unzip       Basic Login files</font></li>
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Upload       Basic Login files to a directory of your choice</font></li>
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Create       users table in MySQL:<br />
+\r
+      Just run this query or cut and paste the following code into the SQL       window of phpmyadmin or an equivalent MySQL control panel:</font></li>
+\r
+  </ol>
+\r
+  <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">CREATE TABLE `users` (<br />
+\r
+&nbsp;  `id` int(11) NOT NULL auto_increment,<br />
+\r
+&nbsp;  `username` varchar(50) NOT NULL default '',<br />
+\r
+&nbsp;  `password` varchar(150) NOT NULL default '',<br />
+\r
+&nbsp;  `password_hint` varchar(255) NOT NULL default '',<br />
+\r
+&nbsp;  `lastname` varchar(50) NOT NULL default '',<br />
+\r
+&nbsp;  `firstname` varchar(50) NOT NULL default '',<br />
+\r
+&nbsp;  `email` varchar(100) NOT NULL default '',<br />
+\r
+&nbsp;  `phone` varchar(50) NOT NULL default '',<br />
+\r
+&nbsp;  `address1` varchar(100) NOT NULL default '',<br />
+\r
+&nbsp;  `address2` varchar(100) NOT NULL default '',<br />
+\r
+&nbsp;  `city` varchar(80) NOT NULL default '',<br />
+\r
+&nbsp;  `state` varchar(20) NOT NULL default '',<br />
+\r
+&nbsp;  `zip` varchar(20) NOT NULL default '',<br />
+\r
+&nbsp;  `country` varchar(50) NOT NULL default '',<br />
+\r
+&nbsp;  `url` varchar(125) NOT NULL default '',<br />
+\r
+&nbsp;  `permissions` varchar(20) NOT NULL default '1',<br />
+\r
+&nbsp;  PRIMARY KEY&nbsp; (`id`)<br />
+\r
+)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></p>
+\r
+  <ol start="5" type="1">
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Open       login_config.php and set the configuration values as desired</font></li>
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Add       your first account.&nbsp; It will be       configured as the administrator by default.&nbsp; </font></li>
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Put pages behind the security framework &lt; ? include &quot;auth_check_header&quot;; ?&gt; at the very top of any pages that are for members only. Make sure they are in the same directory as the Basic Login files. </font></li>
+\r
+    <li><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Happy       coding!</font></li>
+\r
+  </ol>
+\r
+  <p class="submit">&nbsp;</p>
+\r
+  <p>&nbsp; </p>
+\r
+</div>
+\r
+</body>
+\r
+</html>
+\r