php-general | 2000071
Date: 07/14/00
- Next message: David Banning: "[PHP] newbie problem - code shows no output"
- Previous message: n e T b r a i n: "RE: [PHP] Expire"
- In reply to: Kurth Bemis: "[PHP] HTML and editing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 04:56 PM 7/14/2000 -0400, you wrote:
>hey all...
>
>i have a client who wishes to edit his site on-line....so he can change
>things like menu items, hours..contact people...etc......he very little
>HTML if any at all and i was wondering how i'd go about loading a HTML
>file, displaying it WITHOUT the HTML tags so that he can edit it and then
>putting the HTML tags back in when he saves it...the HTML can be colored
>or what not...any way so that he knows that he shouldn't play with that
>stuff.....any ideas?
>
>~kurth
>Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net
My company has developed a solution that is similar to what you are looking
for.
The Jatosoft Web Framework is a system that stores all site content in a
MySQL database. The administrators of the site have a easy-to-use web
interface that allows them to upload images, change text and links, etc. By
using a SQL database rather than a text file to store this information,
secure changes can be made to the site, and access restrictions can be
incorporated. For example, a company's secretary may only be able to change
the "News" section of the site, but their president could change images,
links, the whole shebang.
It is very easy to add items to the site without writing any HTML. For
example, to add a link, the admin just fills out a text box containing the
URL to link to, and another text box containing what the text of the link
should say.
Our PHP then writes the HTML for them, like so:
$link = "<a href=\"".$linkURL."\">".$linktext."</a>";
It then inserts that into a database BLOB that contains the HTML for that page.
This is really a nice feature to have on a site - no one likes sites that
never update. If you need more information, feel free to contact me at
ben <email protected> or post a message on the Jatosoft Message Board at
http://www.jatosoft.com/.
Ben Gollmer
Jatosoft, LLC
http://www.jatosoft.com/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Banning: "[PHP] newbie problem - code shows no output"
- Previous message: n e T b r a i n: "RE: [PHP] Expire"
- In reply to: Kurth Bemis: "[PHP] HTML and editing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

