logo
Published on Code2Design (http://www.code2design.com)

Writing a PHP Install File

By kab012345
Created Jan 12 2008 - 2:59am

Hey,

I never thought I would be asking for help, but I just need a little wisdom. OK, I'm co-developing this CMS Like software called myHome, and I need to write a file that will on upload of files via FTP, it will go to install.php (The install file I'm trying to create). It doesn't use any Databases or anything YET, so that is good; All I need it to do is create the initiate password and user name for the Admin Control Panel, and write the site URL, site email and other basic information to the config.php file. Should I use the include function or the fwrite to external fire function? Are there any alternatives? How would I have the user input the information into a field, click submit, like the password, site email, etc, and then have that write to the config.php file? I want the installer to be similar to a phpBB Forum (Or any other forum installer) Installer File, where the user inputs information and it gets written to the file. Any help is appreciated!

Thanks
- kab012345

‹ tutorials area - html lesson 5 [0] Editing a File Externaly › [0]

Source URL:
http://www.code2design.com/forums/writing_a_php_install_file