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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> 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: [EMAIL PROTECTED]           secondary:
scrappy@{freebsd|postgresql}.org
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to