I suppose most of you come up with the idea to add another field and another field to your DB as time goes by.
When expanding the database there are two methods to do it without any complications:
1- To create empty (unused) fields from the beginning.
2- To rename the database-file temporarily, so the users won't change/add anything in the meantime.
The second solution produces an internal error message, and that's where my question comes in:
Can somebody come up with a bit of code (primarily to put in db.cgi with a check on the filename in the CFG) that would make it able to display a properly formatted message that lets the user know "The database is under maintenance" ALREADY BEFORE logging in?
GREAT! Thanks! ;-)
/CSky
When expanding the database there are two methods to do it without any complications:
1- To create empty (unused) fields from the beginning.
2- To rename the database-file temporarily, so the users won't change/add anything in the meantime.
The second solution produces an internal error message, and that's where my question comes in:
Can somebody come up with a bit of code (primarily to put in db.cgi with a check on the filename in the CFG) that would make it able to display a properly formatted message that lets the user know "The database is under maintenance" ALREADY BEFORE logging in?
GREAT! Thanks! ;-)
/CSky

