Handyman wrote:you can change it however you need to, to make it work.
I just wonder how you got phpBB to work?
well when installing phpbb3 i just follow the instruction...
the instruction say "for sqlite you have to write the path and file name to your database, no username or password needed"... i just following it and make a file and stored it in unreadable folder "not readable by bots or hacker, just readable by me or the hosting server admin only" (for the safety) and phpbb3 automatic store the database at that file (that i made for the database stored).
but when i install ajax chat, there no page that i have to write to locate my database.. it just automatic read the "db" folder from phpbb3 which are stored the includes files to make the database table..
so how to add some script so "chat_install.php" read my database and i manually locate my database files.. so ajax chat read that file as my database.
the logical just like this :
phpbb3 used "db" folder that stored includes to make table at database but before that phpbb3 ask me where the database locate so phpbb3 can read the path to it before it read the "db" folder.. after phpbb3 can read the database location it follow the instruction from "db" folder and make the table that needed by phpbb3 at my selection database and path, and phpbb3 make "config.php" for the future read to locate my database.
But at ajax chat.. when i used "chat_install.php?mode=install" it directly follow the instruction from "db" folder and not ask me where i stored my database first.. that why i get the error that say "missing database, blah.. blah.. blah..".
so can u help me to make a new lines of script so ajax chat ask me where i stored my database before it follow the instruction to make table from "db" folder includes instruction..
so the new lines of script can be like this
ajax chat read "Config.php" as a global include before ajax chat follow the instruction from "db" folder to make table
before ajax chat follow the instruction from "db" folder to make table at database, it ask me the path to my database first.. after all instruction have been made, by automatic ajax chat make new *.php as a global include for the future read to my database location
i just can't implementation it with php language.. i really suck with php language
so can u help me with this