editing database info without opening config file

Discussion in 'PHP' started by lokielookies, Apr 28, 2007.

  1. #1
    Hi!

    I'm looking for a way for people to be able to edit the database info without having to open the process.php page


    Click here to see what I mean


    Can someone help me out with some tips?


    Greetz!
    Mieke
     
    lokielookies, Apr 28, 2007 IP
  2. dzysyak

    dzysyak Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your question is not very clear, but can suggest you to generate ini file and than read that config file with parse_ini_file(). Sorry, if that not what you asked :)
     
    dzysyak, Apr 28, 2007 IP
  3. commandos

    commandos Notable Member

    Messages:
    3,648
    Likes Received:
    329
    Best Answers:
    0
    Trophy Points:
    280
    #3
    What you can do is : in the setup process write the info you got from the form into the config file .

    Then you can just read the database info from the config .
     
    commandos, Apr 28, 2007 IP
  4. manilodisan

    manilodisan Peon

    Messages:
    224
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yep that's the best solution but it's hard to get it done for a begginer I believe...
     
    manilodisan, Apr 29, 2007 IP