.................................
.	Alessandro Crugnola	.
.	[aka] sephiroth		.
.	11 Apr 2002		.
.................................


0.1 FILES
#################################
includer.fla
includer.swf
index.html
load.php
SSPoll.fla
SSPoll.swf
readme.txt
mysql_installation.sql

admin/admin.fla
admin/admin.swf
admin/admin.php
admin/includer.fla
admin/includer.swf
admin/index.html

config.php



1. LICENSE INFORMATION
#################################
These files are completely free. You can use them both for personal use and for commercial use. You cannot use them for distribution (cd, emails, floppy, downloads)
CURRENT VERSION: 0.1 (still beta)


2. INSTALLATION
#################################

2.1
MySQL installation: In order to in install the two tables necessary you have to use the file mysql_installation.sql using your preferred mysql admin client (i use phpMyAdmin: http://phpmyadmin.sourceforge.net)
Execute the queries included in the sql file to create the tables (poll_answers and poll_questions)

2.2 
Open conf/config.inc.php and set the mysql variables to point your mysql connection, then set the cookie variable value ($cookie_life_time). Its value represent the days duration of the cookie. Setting this var to 0 will disable the cookie.

2.3 Upload all the others files to your server and open admin/index.html file. The admin console will open and you now can add/modify or delete your polls.
Remember that you can CAN have only 1 poll in the same period set to online status. If there is no poll actually online users will see the results from a previous online poll.

2.4 Remember to add an .htaccess file to the admin directory (under Apache) or protect it in another way. Otherwise once you added all your polls through the admin panel you can simply delete the admin folder from the remote site and re-upload it when you need to add another poll.

2.5 In the SSPoll.fla you can modify some style format for the text showed, for the buttons and the poll's bars.
You can also decide to use the SharedObject cookie in flash or not. But it is not necessary if you have the php cookie > 0.


3. USE
##################################
the main file for the poll is the includer.fla/swf file which preloads and then load into itself the file SSPoll.swf


