Re: Doc to PDF with mssql
| From: | Chris | Date: | Tue, 03 Nov 2009 22:01:33 +0000 |
| Subject: | Re: Doc to PDF with mssql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46626@lists.php.net to get a copy of this message | ||
Rafael Costa Pimenta wrote:
Hi someone knows how to convert a word .doc to a PDF using PHP?There are external tools available to do it. http://doc2pdf.sourceforge.net/overview.html is one such tool. After installing it you exec the binary: exec('pdf2doc blah blah'); where 'blah blah' is whatever pdf2doc tells you to put in.
and how to store and retrieve a .doc file in a mssql database?I searched for 'mssql binary data' and found this article: http://www.databasejournal.com/features/mssql/article.php/1475641/Storing-and-Retrieving-Binary-Data-in-SQL-Server.htm -- Postgresql & php tutorials http://www.designmagick.com/