Readme for how to use the package ezSL(Easy Suggestion List)
------------------------------------------------------------
1. Put the package folder under your web server document root.
2. Then goto your MySQL admin section and create a new database giving "dictionary" as
database name. Then import the "dictionary.sql" file into new created "dictionary" database.
3. Open "dbConf.inc" file from "ezSL" directory and customize the Hostname, Username,
Password and Database Name as your needs.
4. Then simply run the "test.php" file from your web server to see the actual thing of ezSL.
5. Only for test I have covered the words of "a" series in "dictionary.sql". So when you
test this, only give the words which are starting by "a" character (example: award, ask,
around).
If you want the whole dictionary words, you can download it from following URL:
http://www.bsourcing.com/raw_resource/dictionary.sql
Extra notation to use this(ezSL) class in your personal application/project:
----------------------------------------------------------------------------
If you want to use this in your personal project, just open and see the code of "test.php"
file. You could see there, how I have used the Class and which parameters you have to pass
through arguments. Read the comments in the code to clarify. I think you will understand
everything after this.
And remember two things:-
No.1 you have to put the "ezSL" directory at the same path with the page in which you are
including the class as - include"ezSL/ezSL.cls.php". That mean, you follow the placement of
"test.php" file and "ezSL" directory.
No.2 you should create the php object of ezSL class in the header section of your html code.
Thanks & Best regards-
Author: S. M. ARIFUL ISLAM
Country: Bangladesh
E-mail: arif_look@yahoo.com
Web: www.bsourcing.com
|