• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Website Settings

Newbie Spellweaver
Joined
Apr 23, 2015
Messages
45
Reaction score
9
What is the best choise to make website configs/settings

Options:

1. xml files (like most of the cms uses)
2. config.php or something.php
3. file names like configs.cache, rankings.WEB etc
4. Anything else

What will be faster and better performance also secure.

Thanks in advance for answers.
 
Newbie Spellweaver
Joined
Sep 8, 2015
Messages
26
Reaction score
4
env, xml, php they are all fine. For security disable the directory browse or use htaccess to denied visitors
 
Don't be afraid to ask!
Loyal Member
Joined
Jun 2, 2012
Messages
1,454
Reaction score
252
the security is not about the file names, its about your coding knowledge.

The code always will contain bugs, but after you or your users detect it you can fix them all.

Btw for config files you can use the XML because its easy to use and fast. (easy to code this feature) !! (You dont need to code this because you can get the full feature from webengine :p ) !!

maybe the best if you have a central folder, where everything is in. config.php, includes, etc.. If you make functions you can call them on your website anywhere (public functions ofc), so your code can be nice.

filename is just in the modules are important in my opinion. so rankings.php, login.php, profile.usercp.php, etc.

But in my opinion you dont need to create one more cms system, just download a working and stable, understand the code and recode the most of the features. I have made this too with webengine. I leaved just 1-2 file untouched, most of the files are recoded in arts.
 
Back
Top