Simple Flash Guestbook
This is very simple guestbook with flash and php. It uses simple flat file database instead of MySQL It loads only 10 entries first time to lessen server load. But two arrow buttons allow visitors to switch through all the entries even without reloading the page.
Installation:
STEP 1:
Before processing check that you have all the 4 files in your hand.
- comments.html
- comments.php
- comments.swf
- comments.txt (Initially Blank)
STEP 2:
Wait, check that your server supports PHP Script or not. If your server don't support PHP you will not be able to run this script. Also check that the 'comments.txt' is initially blank.
STEP 3:
Ok now open a FTP Browser and upload the 4 files ( Mentioned in step 1) to the same folder where your html file exists. Note that, you don't need to upload the .fla file to run this script.
STEP 4:
Change the permissions of the blank 'comments.txt' file to 777. (CHMOD 777)
Without this the php script wouldn't able to write down the entries in that text file. In File Zilla ftp browser right click on the 'comments.txt' file and click on 'File Attributes' then check all the boxes. Thats all! It should be functioning if you followed the 4 steps stated above.
Troubleshoot:
STEP 1:
Are you sure that you can run PHP scripts on your server? Check with your systems administrator to make sure.
STEP 2:
Have you changed the permissions of the text file 'comments.txt' to 777?. Make sure their set so you can write to them.
STEP 3:
Check to see if you have any errors in your PHP scripts. Open up the script in your browser window by typing in the full url to the script on your server. If you receive an error message, then you've got a small syntax error in your script. It's probably a missed ';' or a similar error. Usually this reports a line number along with the error, this should give you a good start on where to find the error. If their is a blank screen or a success message then the script is working.
STEP 4:
Verify all paths used and try to visually track the variables from the beginning to the end of the process.

