Website Settings

Results 1 to 5 of 5
  1. #1
    Enthusiast Thund3r is offline
    MemberRank
    Apr 2015 Join Date
    404 Not FoundLocation
    49Posts

    idea Website Settings

    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.


  2. #2
    Enthusiast mcmarilag is offline
    MemberRank
    Sep 2015 Join Date
    Dubai, UAELocation
    27Posts

    Re: Website Settings

    env, xml, php they are all fine. For security disable the directory browse or use htaccess to denied visitors

  3. #3

    Re: Website Settings

    what about .aspx ?

  4. #4
    Enthusiast mcmarilag is offline
    MemberRank
    Sep 2015 Join Date
    Dubai, UAELocation
    27Posts

    Re: Website Settings

    Quote Originally Posted by KarLi View Post
    what about .aspx ?
    well why not but i think he like's php more than .net

  5. #5
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: Website Settings

    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.



Advertisement