Need help. Dont know which direction to go.

They have: 1 posts

Joined: Mar 2010

Good Day good people,
Im new to this forum, and Ive registered myself in order to try and get help. Ive been making webpages for the past years, and Ive never extended myself out of HTML, because Ive never needed to.

But time has come to learn more, and I do not know were to start. My problem is the following.
I need to make a certain part of a web page that could be changed by anyone who had a certain password without having to alter the main code of the page. Im not sure If I am being clear.

I need this because I am making this web page for a friend who does not know how to edit HTML, so he needs a quick way of editing the main page text without having to enter the server and edit the HTML. I heard that he used to have a system where he typed in his Navigation bar a special url within his site and he was directed to a password field, after he entered a password a field with the main text of the site appeared and he could edit that freely and save it, thus making the main page content change instantly. Anyone know what I'm talking about?

Id like to know how to make somthing like that, and what do I need, php, mysql, etc?

thanks a lot !
cheers
Martin

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Hi Martin,

Welcome to the forums! There are a couple of ways you could solve this problem. It depends on how much editing you want your friend to be able to do. If he needs to edit most of the site, you could consider moving to a small content management system. There are many CMS's you could try out. Wordpress could be one solution, although there are others.

I have also done something like this just by writing a simple little PHP application. What I did was created a form that wrote to a text file and hid it behind a .htaccess login. Then I used a simple PHP include to include the form output into the HTML page. You should be able to search for tutorials for all of these steps.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.