Page 2 of 2

Re: PHP Database Class: Defending the data

Posted: Sun Oct 23, 2011 8:31 am
by evstevemd
Mordred wrote:You can just hardcode them in your PHP source.
Do you think it will be good for install script after have installed the system database will execute another script that will write them in a PHP file as series of array?
I think this will maintain generic (no hard coded values) yet maintain the concept. Is there a better way to archieve this?

Re: PHP Database Class: Defending the data

Posted: Sun Oct 23, 2011 2:31 pm
by Mordred
This sounds nice, and you can add a "developer mode" option to do it at runtime while you develop on localhost.

Re: PHP Database Class: Defending the data

Posted: Sun Oct 23, 2011 2:34 pm
by evstevemd
Mordred wrote:This sounds nice, and you can add a "developer mode" option to do it at runtime while you develop on localhost.
cool then let me give it a go!