Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have a custom PHP page that is set as the homepage for all the computer's on my network. On that page there is a small iframe with "important info". Any user can update the content of it by editing the "importantinfo.html" file stored on our server. However, I would ideally like to replace the ifram with a small PHP box that will allow users to type directly into the box, and have that text saved and displayed to all other users who open the page. I originally thought some type of "shout box" would do it, but those all are way more than what I am looking for. Any suggestions?
-Ryan Adams
http://members.cox.net/rtadams89/

Aside from building a custom solution that would take more time than imlementing one of the free solutins that currently exist, no.
If you build your own solution you would need to decide if you will have the text stored ina database or a flat file, then go from there.
Really, your question is way too general. But, if I was going to do this from scratch I would use a PHP page that would include() a text file with just the content. The PHP file would take care of the formatting and such. This means, of course, that the content would not have any formatting itsef - no bold text, bulleted text, etc. That can be done, but would make it much more complicated.
Anywat, have an "edit" button in the page that will open a pop-up or another page with the text loaded into a text area. When the user submits, it overwrited the text file.
Michael J

![]() |
Online Advertising WebPap...
|
Need feedback on my site!
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |