Name | Modified | Size | Downloads / Week |
---|---|---|---|
v0.1 | 2011-09-17 | ||
README.txt | 2011-09-17 | 1.8 kB | |
Totals: 2 Items | 1.8 kB | 0 |
1. Usage 2. Additional information 3. Outro ########################## 1. Usage 1. Make sure you have full rights in the current working directory 2. Run create_db.php with your creditentials in order to auto generate a config file and to set up the database and tables. 2.1. After running create_db.php and notifying you on its success, it is absolutely recommended to delete the create_db.php. 3. If all is OK till now, everything is up and running. 2. Additional information 2.a. Database & tables Database: chatBox Table: messages 2.b. Regarding delete Messages are kept till the next day. When the time will pass, the messages will be auto deleted from the database. If you want to deactivate this, comment line 64 in lb-func.php. 2.c. Running the class from another file It is very simple. The class should be called like any other. After the class has been called, calling the method showBox() with the username as an argument is the next thing to do. The showBox() method will do the rest. # Ex.: # require_once 'path_to_file'; # $username = $_SESSION['username']; # Giving username a value # $username = new chatBox; # Calling out the class # $username->showBox($username); # Calling out the method 3. Outro Hey, name is Andrew. I'm 16 and these projects are made for my future portofolio. I would really apreciate if you would leave a review regarding the project, if not on Sourceforge, then by mail (andreidurduc@gmail.com - no matter if it is bad or good ). I just want to know how I can improve my projects. Thanks in advance. Hope you will enjoy.