Current location: Hot Scripts Forums » General Web Coding » JavaScript » form to save or read file from server


form to save or read file from server

Reply
  #1 (permalink)  
Old 09-12-09, 06:10 AM
junoflydog junoflydog is offline
New Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
form to save or read file from server

I am the webmaster of a small private school web site. I would like a simple way for the staff to update a text only "current events" page. I am looking for the easiest way to implement this for fast daily updates.

My idea is to have a "text input" web page that any staff can type text into, like a form "text area". This text variable would be saved as a file on the server. When someone looks at the "current events" page, the javascript on the viewing page would read the saved text file, then document write it into the html page.

I have experience in writing html with ssi, javascript html and form manipulation on the client side, and ftp to upload html to a server. I have no experience in setting up a database or client side file transfers. I do not need a large database, only 4-5 small named variables that I could save and read to the server.

I am not familiar with many other languages or programs such as php, asp, pearl, c+ etc... and have no clue on how to set up a database. I would prefer to stay away from a database if possible, and just save and read 4-5 files.

Any help with variable (file) saving and reading to a server from an html javascript would be greatly appreciated. A sample code of saving and reading a "hello world" variable to a server would be ideal.

Thank You.
junoflydog@aol.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-12-09, 08:07 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
You will need a server side technology, such as PHP or ASP, so please post the type of server (LAMP PHP/Perl, IIS/ASP, WAMP).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks

Tags
file, form, javascript, save, server


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
Space Above Form xavier039 CSS 1 07-13-09 11:52 PM
[SOLVED] Cross Server File Transfer cesarcesar PHP 9 03-17-09 05:37 AM
HTML Form that writes to a text file on the web server...? ViciousTruth Script Requests 10 03-05-09 05:44 PM
Using a form to replace data in a text file dnb198 ASP 1 12-22-08 07:26 AM
Excel document containing records, need to save as a text file to upload to mysql bearslife PHP 1 06-05-04 04:24 AM


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