3.12.00
Third Release of "the restauraunt guide"

resturaunt.php3 - displays the lists of restaurants
review.php3     - displays the info about each
form.php3       - used to add new restauraunts and their tables
addreview.php3  - used for people visitng the site to add a review
auth.php3	- use to log in admin users
out.php3	- used to log out admin users
remove.php3	- used when you remove a review
LICENSE 	- the GNU Public License
badwords.txt	- a list of filtering words


---------------------------------------------------------------------------------------------
okay - here we go again :)
i've added an admin system to help things along. basically all you can do right now with it is
remove reviews with the click of a button once you are logged in. this makes it a bit easier to 
do than to have to hunt through all of the mysql. Anyway - i was sent a few emails about the fact 
that this wasn't documented too well, and that i needed a nice little install guide so that this 
can get up and running pretty easily. 

so, here it goes:

1. first, you must have PHP/MySQL/Apache installed. I can't gaurantee that this would work on andything
different, but who knows, it might. 

2. copy all the files to a directory where they are web accessable (ex. /home/httpd/)

3. then create a MySQL database called "resturaunts" (yes, i know it's spelled wrong - if you're 
that picky, change it in the source too.)

4. then, you need to make two tables in that database -
	
create table auth 
(username VARCHAR(30), 
password VARCHAR(30), 
admin INT, 
ID INT NOT NULL AUTO_INCREMENT, 
primary key(id));

create table info 
(name VARCHAR(30), 
location VARCHAR(30), 
phone_number INT, 
type_of_food VARCHAR(30),
description TEXT,
ID INT NOT NULL AUTO_INCREMENT, 
primary key(id));
	
5. once you have those, you should be all set. the form.php3 page should add in all the other tables for you 
(for each resturaunt)

To make this simpler, there is a script included that you can use like this to make the tables:
	mysql < make.sql
As long as you have the correct permissions, this should work in creating the above tables.
(thanks James)

** Also, there is a small counter-ish thing on the from page in PHP. You can either take that part out or make
	a "count.txt" file in the same folder to provide a small counter.
-----------------------------------------------------------------------------------------------
There are some things to change if you would like..
	- obviously, the graphics should be changed according to the city/area
	- the burger graphic can be changed easily in the review.php3
	   just replace "burger.gif" with whatever you want 

Right now, the only problems that I have with the existing framework, is:
- it doesnt like ' for some reason..i just haven't gotten around to editing those out
- it also messes up if there are any extra spaces on the end of the restaurant or anything
        (it misnames the table for it)

One of the newest features is the filtering system. This filters the comments for certain
words included in "badwords.txt". This way, you can add new words or phrases easily. Just add
it on a new line and it will take care of the rest.

anyway,
that's all for now - i will keep working on this and making it better as i have time..
i welcome any and all comments on it. i know it's not the best coding in the world, but hey,
I'm learning :)

-enygma
enygma@flashmail.com

