-=( tinyMuw v0.0.2 )=-

TABLE OF CONTENTS:

I. General
1. Copyright
2. Requirements
3. Setup and Installation

II. Administration
1. Security Issues
2. Future Plans

III. Miscellaneous
1. Known Bugs
2. Version Tracker
3. Development Information
4. Contact Information

I. GENERAL:

1. Copyright:

This utility and its associated code and programming are copyright(c) Curtis Zimmerman and L0j1k.com. It is subject to the Creative Commons Licence (CCL), all rights reserved. The CCL can be found at the following address:

http://creativecommons.org/licenses/by-nc-sa/2.0/

You may modify, cut'n'paste, implement, chop up, skewer, change, re-implement any and all of this code for NONCOMMERCIAL purposes (meaning that you can't sell the code, and if you were Microsoft you couldn't -- without special written permission by the original author -- USE the utility and its associated code and programming on your commercial site) and by crediting the original author, Curtis Zimmerman and L0j1k.com. If you have questions about using commercially, selling, repackaging, licensing or leasing this software, please contact the original author at tinymuw(at)tinymuw(dot)com. By using this utility and its associated code and programming, you also agree that the original author, Curtis Zimmerman and L0j1k.com, cannot be held liable for any loss of data or service that you might experience because of this code or your use of it. Basically, you can't come after me or my website if this stuff screws your stuff up.

2. Requirements:

This software and its associated code and programming require the following:

- Website with appropriate web server (Apache, IIS, etc.).

- PHP 5.0

- MySQL 5.0

You can probably get away with slightly older versions of the above stuff, but I
highly recommend getting these.

3. Setup and Installation:

- Unzip php_tinyMuw_v0-0-2.zip to a folder or directory that is easily accessible.

- Create the database and tables as read in tinyMuw.sql.

- Input the CSS data from tinyStyle.css into your page CSS document.

- Cut and Paste the code from Header.inc into your index.php (or appropriate equivalent) BEFORE any of the code there. This is required for page refreshes and cookie stuff to work.

- Look around in admin.php and tinyMuw.php for database information that you need to change. In tinyMuw.php, Line 9 contains MySQL connection credential information and lines 10, 24 and 48 contain the name of the News database. In admin.php line 34 contains MySQL connection credential info and line 35 has the name of the News database.

- Change the information in config.php to something unique. You need to either generate an MD5 hash for your password (HIGHLY RECOMMENDED) or remove the md5() function from the Header.inc code username/password comparison. A good site to generate an MD5 hash from a string is:

http://pajhome.org.uk/crypt/md5/

- Not required by HIGHLY RECOMMENDED is changing the cookie information found in Header.inc and admin.php to something unique. This will prevent anyone from just using the information found on the tinyMuw site to break in and change all your awesome content. In Header.inc, lines 15, 16, 24 and 25 contain cookie names and data. In admin.php, lines 8 and 9 contain the cookie data.

- To actually implement the utility, insert the following code into index.php where you want to see the login/entry system (admin.php), and the actual display of your entries (tinyMuw.php):

<?php include 'admin.php';?>
<?php include 'tinyMuw.php';?>

NOTE: I know this sounds like a lot of work, and it is. But what else do you expect from such a low-numbered release, especially one written in a combat theater? ;)

II. ADMINISTRATION:

1. Security Issues:

As of this release, there are a few things included in the code to prevent such easy break-in techniques as basic SQL injection and hypertext format traversal (I don't know if that's the formal term for it but the term works for me). There is the minor problem of using cookies to maintain session information, as well as the problem of forms submission injection in the PHP url itself. These problems aren't easily circumvented, and the latter of which can be reduced significantly by renaming a few of the variables within the code itself. This creates Security Through Obscurity, but in my experience, 95% of websites using PHP/MySQL solutions use this technique when the same types of functions/operations are performed. Until I research or a random developer drops me a line with a better idea, this will have to work. I do this for free anyways.

2. Future Plans:

None. What I mean is that I'll get to the future when I get to the future. Although I would REALLY like to see myself (et al) develop this into a full-blown Content Management System (CMS) like RedCMS and others. I would also like to see people learning from this as much (or more!) about PHP and MySQL as I did. However, I would
like to start inventing code to do some of the following:

- Fix the fact that the database is called from multiple files. I would like to see a database.php handling all that.

- Add a user database into the total MySQL creature, which is called on by a session-
handling file and is referred to constantly by a session-handling file.

- I would like to keep security at the forefront of this CMS.

III. MISCELLANEOUS:

1. Known Bugs:

- Currently, there doesn't exist a way (in the code as it is) to refresh the page after inputting a new entry, or deleting an old one.

- The Archive function in tinyMuw.php only supports 50 old entries.

2. Version Tracker:

- v0.0.2 (CURRENT STABLE RELEASE, first release):

- Added Archive function, which allows the display of the last 50 entries.
- Added the ability to delete entries.
- Made possible the insertion of basic html formatting tags into entries.

- v0.0.1:

3. Development Information:

The forums at http://forums.L0j1k.com have a helpful forum dedicated just for tinyMuw and the development train and community. If you'd like to join the group (as formal as this sounds) just register at the forums and start posting. All comments and questions and criticisms are welcome. There are many ways to get involved in the development. Just grab a copy and start running it, chopping it up, serving it, modifying it and throwing comments and suggestions and code snippets or chunks back onto the forums. The important thing is to LEARN from it and have fun making it work for your site.

4. Contact Information:

You can contact the original author of this software at tinymuw(at)tinymuw(dot)com. My name is Curtis Zimmerman and I like hearing about how people use the software, any comments or suggestions you have concerning the software, or what kind of fish is your favorite to fish for. I will also answer limited questions concerning installation and setup but please no questions like "taht not wrokig, plz hlep me". I speak only English and limited amounts of German, so please don't ask me things in Russian or Vietnamese.

 

f