Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
> I have someone with me who needs site help. His page will deal with a
> customer who needs two copies of a document, one in word, and one
> broken up
> into the server's database. Rather than make the doc twice, he
> wants either
> the server to grab the text out of the word doc and put it into the db, or
> have an HTML form filled in to create both the db entry and the
> word doc at
> the same time. RTF format can be subsituted in place of Word.
> Which method
> is best, and how would it be accomplished?
>
Should be really easy with PHP.
He really wants the form data to be entered via html - if it comes in as a
word document he's going to have no control over it so it'll be difficult to
parse.
Does the ourput document have to be editable - would a PDF do? If so that's
even easier to make using PHP as there's a library to do just that.
If it has to be RTF that's a bit more work - is it just a few text fields or
are we talking a lot of data here? Does he need formatting or just, say,
Times 12pt.
If there's a bit of formatting, make the template in Word and save it as an
RTF file, then use php to insert your dynamic data into placeholders.
Want me to try and through together an example? Might have to wait until the
weekend though.
Russell.
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/