Dynamically editing a website via a secure login page.

Posted on 2009-04-14
Last Modified: 2013-11-19
Currently the websites I develop, I update myself, and once updated I upload the changes via an FTP program (Pretty much how the majority of people do it).  However, I'd like to integrate into some of the sites I design, the ability for my customers to update/edit the pages themself by having a login username and password. Thus allowing them to dynamically update the content without requesting the update to myself.  I believe this will in the long run save myself and them much time.
I understand a database will be needed to achieve this.  

I host all my websites on a reseller account using the LINUX platform and NOT Windows so any scripting should be PHP I assume.

My websites are built to strict W3C standards and are wrapped in DIV tags and NOT tables.  The Banner and menu options do not need editing, only the content of the actual <BODY> - </BODY>

If anyone can help me with this, I'd really appreciate it.

Many thanks
Question by:EDynamics
  • 4
  • 4
LVL 16

Expert Comment

ID: 24138748
There are several ways to do this.
For HTML pages you can do this through MS Word or a basic wysiwyg editor like PageBreeze

If you want to get to a different level of control, put content into a database like MySQL and have access control through php

Author Comment

ID: 24139701
Thanks for your reply.

I would like, and do not have the knowledge to know how, to have a page, which has a link at the bottom called 'EDIT'.  This then provides them to login using a username and password and giving them complete control in editing any pages within the website dynamically.  

Is it possible you could give examples or help me with this?

Many thanks
LVL 16

Expert Comment

ID: 24141069
Only with a a web page inside a database.
Go to

Look at any of the databases (i.e. help and tips).

I can log in and edit any of the records.  

With a database with ONE record and ONE field...with or without borders, you could have log in and option to edit.

In terms of writing something like this (mine is a MY SQL database and php),  it is not just some quick notes.  By all means, you can view the code under the page, but there are many ways to write this.
I still maintain the easier way is with software like Page Breeze.

Author Comment

ID: 24145572
Hi Glen,

Have you heard of TinyMCE or FreeTextBox?  I'm looking to have something like these within my pages which link to a database.  FreeTextBox is not going to work for me because it's built on ASP, but, TinyMCE is built using PHP.  

Can you talk me through the steps in attaching something like the above (TinyMCE) and a database to a normal html page using PHP??  I'd also need a link that takes the user to a login screen, where they can type in a username and password which would give them full access to the editor where they can change the content and layout, which gets saved to the database.

Can you help with this?


DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

LVL 16

Expert Comment

ID: 24148362

I am familiar with TinyMCE.  It is fine.

You might want to use PHPMaker trial (30 days), as it will do it all for you.
That is what I used for the bicyclesite link above.


Author Comment

ID: 24149465
I don't think this is what I'm looking for, as I don't need to scroll through records within a database.  But, thanks for your recomendation.  

Lets say I have 10 web pages.  Currently, I update them using dreamweaver upon request from a customer.  What I would like is for the actual content of each page, which includes it formatting, bullet points, tables etc, all to be editable via a login page on the website.  The information which regularly gets updated is things like, news, services, events, change of times etc all which currently reside in the main BODY div wrapper.  I'm assuming this content will need to be somehow linked into a database in order to update it dynamically.

This will then empower the customer to update their own website and take the burden away from me.

LVL 16

Accepted Solution

glenn_1984 earned 500 total points
ID: 24150461
With above...create ONE Database, with ONE Table with ONE Record.
Kill the table border on the export and you have an editable web page.
Like I said earlier, the only way I know how to do this is via an html (wysiwyg or not) editor.
You can certainly have logins to html pages, but that is not the same as editing.
You could also look at other software (not free)

If none of my help is of value, just kill the question and get your points back.

Good Luck

Author Closing Comment

ID: 31569899

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now