Reply to Re: Can i convert MySQL db records into microsoft word documents?

Your name:

Reply:


Posted by Sanders Kaufman on 12/04/06 20:26

NC wrote:
> Justin wrote:
>> i found the solution to export file from mysql db into *.csv.
>> but is there anyway to convert the contents into *.doc and
>> save in my webserver and providing a link for the end users
>> to download the word file?
>
> Yes. You need a dedicated Windows server with Word installed
> on it. You would retrieve records from the database and convert
> them into Word documents by calling Word as a COM object.

Actually, it can be done *much* easier than that.
Just rename the .CSV file as to a .DOC extension.
When the Windows users dl it, it'll load up in Word... and it'll look
*good*.

You *might* have to specify the mime type on the page just to make
sure... but that's all.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация