Then just use the php equivalent of an include command or is that going to cause issues? I mean php is server side execution so the server can access any folder it wants right?
Does that really provide any protection or can someone still see the information with a debug program or something?
I know html and javascript but php I know just enough to edit what's there. And this isn't what I do for a living hence why I'm using this software haha
Maybe I'm being paranoid, I just don't like my database password sitting there in a public area possibly for someone to see who knows what they're doing. Granted remote connections to DB are restricted to a few IP's for my own use.
Any simple examples of what the file storing the information should look like and the "include" command would be VERY much appreciated.
Thanks again guys.
-Kenny
"data_settings" :
{
"save_database" :
{
"database" : "SomeDatabase",
"is_present" : true,
"password" : "userspassword",
"port" : 3306,
"server" : "localhost",
"tablename" : "SomeTable",
"username" : "someDBuser"
},
"save_file" :
{
"filename" : "form-results.csv",
"is_present" : false
},
"save_sqlite" :
{
"database" : "UTM.dat",
"is_present" : false,
"tablename" : "UTM"
}
{
"save_database" :
{
"database" : "SomeDatabase",
"is_present" : true,
"password" : "userspassword",
"port" : 3306,
"server" : "localhost",
"tablename" : "SomeTable",
"username" : "someDBuser"
},
"save_file" :
{
"filename" : "form-results.csv",
"is_present" : false
},
"save_sqlite" :
{
"database" : "UTM.dat",
"is_present" : false,
"tablename" : "UTM"
}