Re: [PHP] Re: How to read PHP variables.

2005-07-15 Thread Bruno B B Magalhães
Hi everybody, well I don´t want to include and use those variables or set then. I want to read the file, parse the vars to a form, so the user can change the system configs using the web instead of FTP... I am thinking reading using a simple include, and then clean the file contents and

Re: [PHP] Re: How to read PHP variables.

2005-07-15 Thread Edward Vermillion
Bruno B B Magalhães wrote: Hi everybody, well I don´t want to include and use those variables or set then. I want to read the file, parse the vars to a form, so the user can change the system configs using the web instead of FTP... I am thinking reading using a simple include, and then

Re: [PHP] Re: How to read PHP variables.

2005-07-15 Thread André Medeiros
What about... form action=saveConfig.php method=post Database Host: input type=text name=config[database][host] value=?=$config['database']['host']? /br / Database User: input type=text name=config[database][user] value=?=$config['database']['user']? /br / !-- some more fields here -- /form