Opposite to another persons request, ho do I make a word file from php.

This is a discussion on Opposite to another persons request, ho do I make a word file from php. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have data from a dept currently emailed in word format. I am trying to make it that they enter ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2004
Titus A Ducksass
 
Posts: n/a
Default Opposite to another persons request, ho do I make a word file from php.

I have data from a dept currently emailed in word format.
I am trying to make it that they enter the data direct into my
database and want to export it in a format that they can then use
directly in word.

it is vacancy details, job ref, title, dept, description etc...
Reply With Quote
  #2 (permalink)  
Old 04-21-2004
Colin McKinnon
 
Posts: n/a
Default Re: Opposite to another persons request, ho do I make a word file from php.

Titus A Ducksass spilled the following:

> I have data from a dept currently emailed in word format.
> I am trying to make it that they enter the data direct into my
> database and want to export it in a format that they can then use
> directly in word.
>
> it is vacancy details, job ref, title, dept, description etc...


Producing a word file from PHP is possible, although you'd probably need to
use COM objects or something equally horrible if you're running a grown-up
OS. Question is why? It's a lot easier just to skip PHP altogether and just
provide an ODBC data source they can plug into with MS Word / MS Access /
MS Excel / OpenOffice / ......

C.
Reply With Quote
  #3 (permalink)  
Old 04-21-2004
Brendan Donahue
 
Posts: n/a
Default Re: Opposite to another persons request, ho do I make a word file from php.

Titus A Ducksass wrote:

> I have data from a dept currently emailed in word format.
> I am trying to make it that they enter the data direct into my
> database and want to export it in a format that they can then use
> directly in word.
>
> it is vacancy details, job ref, title, dept, description etc...

Why does everyone want to use proprietary Microsoft formats? Whats wrong
with using HTML or RTF or plain old txt?
Reply With Quote
  #4 (permalink)  
Old 04-21-2004
Andy Hassall
 
Posts: n/a
Default Re: Opposite to another persons request, ho do I make a word file from php.

On Wed, 21 Apr 2004 21:08:21 +0100, Titus A Ducksass <me@neverumind.com> wrote:

>I have data from a dept currently emailed in word format.
>I am trying to make it that they enter the data direct into my
>database and want to export it in a format that they can then use
>directly in word.
>
>it is vacancy details, job ref, title, dept, description etc...


RTF would be an easier format to produce, as it's a documented format.
Word can read RTF documents.

--
Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Reply With Quote
  #5 (permalink)  
Old 04-22-2004
choowie
 
Posts: n/a
Default Re: Opposite to another persons request, ho do I make a word file from php.


"Titus A Ducksass" <me@neverumind.com> a écrit dans le message de news:t0ld805i8uu9apnj9v6dha1qkdi18e7h98@4ax.com...
> I have data from a dept currently emailed in word format.
> I am trying to make it that they enter the data direct into my
> database and want to export it in a format that they can then use
> directly in word.
>
> it is vacancy details, job ref, title, dept, description etc...


I just repeat what I've said in a precedent thread ==>
Creating DOC files is a nightmare because it relies on the version of Word.
Creating RTF files is much easier even though the RTF format is a pain to read.

Personnaly, I use RTF Generator, a PHP proggy. It's simple and fast. I just create html-like document and off you go.

More info & online demo here: http://www.paggard.com/projects/rtf.generator/

I use the prog to write CV on the fly so that they are sent automatically to our customers.

--
Choowie

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0