
Originally Posted by
Jedra
What with this and Java over on ToH the possibilities are becoming huge. I just need to think of an application to implement so I can learn it!
Java should already have some built in database functionality with JDBC
http://www.oracle.com/technetwork/ja...dbc/index.html
Good work HeliJunkie, I'll probably be making use of this
EDIT: Just saw this piece of code
PHP Code:
Result = call compile "Arma2Net.Unmanaged" callExtension "mysql [open, MyDBServer, Arma2DB, ArmaDBUser, MyPaSsWoRd]"
if ((Result select 0) == true) {
hint("Connection successful");
}
else {
hint(formatText["Connection failed. Errorinformation:\n%1", Result select 1])
}
Is it possible to let us use a configuration file alongside the database plugin so we don't have to put our authentication data in plain text within a script? It'd be very easy for somebody to download a mission, dePBO it and get our database auth.