Hi folks,
I need help writing form data to a text file on the server. I'd like to do this with a simple Javascript rather than with PHP. It could probably be done that way but I am a designer, not a real programmer. I don' t have much PHP experience and so am looking for simpler solution.
The application I actually need is a user-configurable dynamic web page - my customer would like to post daily updates and announcements to his website, and I want to allow him to do this WITHOUT giving him root access to the server or making them FTP something, which would requre them to have the password to the server and is also kind of outside the scope of their experience at the moment.
My general plan is in two steps: The first step is to build a dynamic webpage that will display the content of a text file that is saved on the server. This is already done.
The next step will be to give the customer a password-protected HTML form page that will save its input to a text file on the server (the same text file that is displayed is step one). The customer can input the password, type his updates into the form and save his updates as text on the server, which will then be displayed as HTML when the "step one" web page is opened.
Anyone know how to do this (write form data as text file to the server) with Javascript? If not, is there maybe a SIMPLE way to do the same thing and accomplish the same overall functionality with PHP that even a PHP-dork like me could handle?
Thanks guys. All help appreciated.