Re: Editors ... calling them, or PHP-based one?

From: Date: Thu, 12 Apr 2001 13:01:13 +0000
Subject: Re: Editors ... calling them, or PHP-based one?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48295@lists.php.net to get a copy of this message
Ick...I'd say it's a good idea, but it's going to be a bi...tter fight with technology. First, you have to have some application do the loading/unloading. PHP can't do that, of course. But, you could use some form of java...but you'd have to get fancy. Or you could just use file upload in a form, which is easier. If you do that, you need only parse out the file. The best way to do that is pick a text format that does what you want it to do, and is universal across platforms. You don't even need to worry about the editor they use, as long as it's saved in the proper format. I reccomend you use either a word document, or perhaps Rich Text Format is best (rtf). Then you just have to figure out how text is saved in that format, and viola. You just use PHP to go from there... ...I'm sure it's easier said than done, and I have absolutely no clue how the content of rtf files is different from txt (but I'd love to know!), but I can see it being very possible if you pick only a few standard file formats, and use the file upload features. It's actually a very good idea. I'm surprised no one has done it...which should probably worry you ;) -- Plutarck Should be working on something... ...but forgot what it was. "The Hermit Hacker" <scrappy@hub.org> wrote in message news:Pine.BSF.4.33.0104120948500.72136-100000@mobile.hub.org... > > Sorry for vague subject, only so many things you can put in there ... > > I'm looking for someone way, in PHP4, to take a "form/template" for a > letter on the server side, pass it to the client, let them edit it > (including markup tags like bold and underline) and then pass it back to > the server ... > > It has to be relatively transparent to the end user ... I don't want to > have to teach them to put <B></B> tags around where they want bold ... > > I'm not particular on editor ... right now, if I have to force the client > to install StarOffice for commonality across platforms, I'll do that and > expand from that ... but some way of 'click here, download doc to > computer, open up file with <insert editor of choice>, save back to server > (if possible)' ... > > Ideas? > > thanks ... > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy > Systems Administrator @ hub.org > primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#48295) next »