webmin has a web based text editor
http://www.webmin.com



Continued Growth

Chuck Belcher
[EMAIL PROTECTED]
410-347-8449
------------------( Forwarded letter 1 follows )---------------------
Date: Tue, 22 Oct 2002 09:12:36 -1000
To: [EMAIL PROTECTED]
From: Korthrun[perl]@korthrun.net.SMTP
Sender: [EMAIL PROTECTED]
Subject: Re: perl, web based text editors available?

I will include no code here, just concept.
A html <SELECT> type form, that pulls its options from a predetermined directory 
(possibly recursivley) using the dir
listing functions built into perl. Select your file and hit submit. A script then 
takes that file name, does an open()
on it shoves the data into a scalar or list, does a close() and then opens a new html 
page, passing the variable on to
the new page. The new page contains a <TEXTAREA> with the value attribute set to the 
variable.
print "<TEXTAREA VALUE=\"@stuff_from_file\"> edit the stuff in the text area and hit 
submit, while will rm the old file,
and replace it with the info in the text area
----- Original Message -----
From: "Steveo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 4:01 AM
Subject: perl, web based text editors available?


> I have a small dynamic website I wrote in perl.  All news and stuff is
> entered through a web accessible backend page and the data is written to a
> series of flat ascii text files.  When I make a mistake in entering data,
> or if I want to change most data, I have to shell in and edit it with vi
> (no big deal).  What I'd like to know is if there are simple web based text
> file editors (written in perl) out there that I can integrate into my
> website so I can edit these raw files over the web instead.
>
> I had been thinking of writing a cgi script that would allow you to pick
> any one of a predetermined set of data files to pull into a text area box
> that could be edited and then returned as a form to over-write the old
> version.  It seems simple enough to read a text file into a webpage, but
> I'm not sure that the I know how to return the edited file to the webserver
> in the exact same format as it was retrieved.
>
> Steveo
> Steveo (aka Haiku)
> [EMAIL PROTECTED]
> www.linuxhaiku.com
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***********************************************************************
The opinion(s) expressed in this e-mail message are those of the sender 
alone and do not represent the position of Mercantile Bankshares 
Corporation or its Affiliates unless specifically so stated herein.

Additionally, the information contained in this message is intended 
only for the persons to whom it is addressed and may contain 
confidential or privileged material. Copying, distributing, 
dissemination, reliance on, or other use of the information by persons 
other than the intended recipient(s) is prohibited. If you received 
this message in error, please notify the sender and delete the entire 
message from any computer.
***********************************************************************



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to