Jump to content

Script to change the text on an HTML page


arstacey

Recommended Posts

I have a one page site on our intranet that basically lists several of our local systems and says if there are any reported issues.  Looks something like:

 

System 1 - No reported issues

System 2 - Down for maintenance

etc

etc

 

Right now, if I need to make a change, I have to actually edit the html portion of the page manually.  This is fine for me but there are other people on our helpdesk who do not have this sort of experience nor access to the server.  Is there a way for me to code something that would give a user the ability to pull up a page, possibly a form, where they can input text and when submitted, it will update the page in question.  Any help would be greatly appreciated.

Yes this is possible with php. you will need to create a database like

 

id | system | status

 

you will need a page which will show the data, this page will simply pull all the data from the database and display it (replacing your current html file)

 

then you will need a page with a form on it which will allow users to update the database when the status of each system changes

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.