You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

Static Website, need to let client edit a small section of it, how to do it?

They have: 3 posts

Joined: Jun 2009

I'm familiar with CMS's and have used them many times, but this is a static site built before open source CMS's became prevalent. They currently edit it by editing the html and then uploading it by ftp to the server. I'm trying to think if there is an easier way that I can set up to make it easier on them. Maybe a password protected form where they can enter in paragraphs in the text field and hit submit and it will save the text to a file that the html page will read and pull the text from it. I don't know if there is any way to do this without using a database, but thought I would check.

{Mod edit: Please use your signature for personal links, cheers}

Megan's picture

She has: 11,004 posts

Joined: Jun 1999

Yes, it's possible to have a form write to a file. I did this recently for a small application at work. In my case the form writes to a text file which is included in the page. If you're using PHP, look up the file functions - fopen, fwrite, fclose.