Re: read txt file?

by "Darrell King" <darrell(at)webctr.com>

 Date:  Sat, 22 Apr 2000 09:19:53 -0400
 To:  "HWG Techniques" <hwg-techniques(at)hwg.org>
 References:  earthlink
  todo: View Thread, Original
We just made a site while back at http://loanvoice.com for a client who had
the same desire.  90% the text content in this site is updated by the
client.  He uses a web-based interface...and HTML form.  He just pastes the
text into a textarea and submits it to a Perl script.  The script marks it
up with either direct HTML or CSS, according to what is decided for the
site, and then builds the HTML document that is served to the public.

The general idea is that you need a "middleman" to parse your client's text,
mark it up with HTML, and then format the delivery vehicle.  I like Perl
because its an old habit, but PHP and other server-side scripting languages
can all accomplish the same thing.

Of course, you can accomplish the same thing by just uploading the text file
as you suggest, and letting the script read it from disk.  The only thing I
liked about using the form textarea was that my client had no need to learn
to ue an FTP client.

D


----- Original Message -----
From: Terry Goode <tgoode(at)earthlink.net>

This is hard when you don't know how to word the question!

I have a friend that wants a web page (no problem there) but he wants to
be able to update daily a column on news, he doesn't want to use any
codeing(html) just notepad and then send it to the server and have his
page read the file into the page. can this be done and how?.
if not how about a work around..
thanks Terry G.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA