Re: HTML and editing
| From: | G. Wiersma | Date: | Fri, 14 Jul 2000 22:32:16 +0000 |
| Subject: | Re: HTML and editing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6708@lists.php.net to get a copy of this message | ||
>
> 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
Hi,
On our school we do something similar. My college made a php index.php that
opens a text file and reads the content of the text file. He then uses "tags"
to suscribe an action, something like:
b: Press this button, url where button should point to
t: This is an title example
This is the text below the title
l: this is a link test, this is the url it should link to.
All the html tags will be added during the dynamic load of the index file.
Hope it helps.
Greetings
Gerben