What I wanted to do, was create a form where a user would enter in information. And when the user clicks a submit button, it would insert the information that the user gave into another file. An example: the file that has the info written to would be a SQL connection file, with the form input being the info to connect to the database.
I know the file being written to has to be chmoded 777, but besides that, what code would I use?