Current location: Hot Scripts Forums » General Community » Script Requests » script to write to/update an html file


script to write to/update an html file

Reply
  #1 (permalink)  
Old 06-10-05, 12:08 PM
tjvfox tjvfox is offline
New Member
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question script to write to/update an html file

Ok, here is my situation: I have a webpage that lists current news and updates for the organization I work for. Other people, besides myself, need to be able to update it quickly and easily. However, I don't want them going into the html file itself. Instead, I would like them to be able to use another page (if possible, accessible from online) where they could type in a new update and the script would enter it into the other html file (also, if possible, overwriting the previous contents).

For example, if the current file said: "Current Status: All systems are ok." I'd like them to be able to either (A) change it to "Current Status: All systems have been destroyed." or (B) change it to "Current Status: All systems are ok. Have a nice day."

Any ideas?
Reply With Quote
  #2 (permalink)  
Old 06-10-05, 07:42 PM
hen3rz's Avatar
hen3rz hen3rz is offline
Newbie Coder
 
Join Date: Jun 2005
Location: Australia
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
this could be easilly done with php by a script called CuteNews which can be found at: www.cutephp.com
Reply With Quote
  #3 (permalink)  
Old 06-13-05, 10:41 AM
tjvfox tjvfox is offline
New Member
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thanks, it looks like it might work...

anyone know if there is a simpler script/program? I just need a couple guys to be able to edit the news and have it displayed on my homepage... any suggestions?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 03:27 AM
How to write the output of CGI script into HTML? Persis Perl 2 01-23-05 04:52 AM
How to write a php script to load a text file into a table automatically? xmxpcom PHP 2 02-12-04 08:37 AM
Upload file to table so ONLY files tied to primary key are displayed in record? grafixDummy PHP 4 12-20-03 04:28 PM
Script for picking the first HTML file out of a directory (with sorted HTML files) jelteveld Script Requests 0 08-16-03 01:30 PM


All times are GMT -5. The time now is 11:44 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.