Re: Transforming doc files into html
| From: | Chris Hobbs | Date: | Sat, 04 Aug 2001 18:40:18 +0000 |
| Subject: | Re: Transforming doc files into html | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11065@lists.php.net to get a copy of this message | ||
I use the tools from here:
http://wvware.sourceforge.net/
I've got a wrapper php script that calls wvhtml like this:
passthru("PATH=$PATH:/usr/local/bin /usr/local/bin/wvHtml /var/www/html/$file /var/www/html/$file.html");
Where $file is the Word doc that has been previously uploaded.
I then redirect to that file with:
header ("Location: http://www.silvervalley.k12.ca.us/$file.html");
Hope this helps!
Cami wrote:
Does anybody know if is any way in which when you upload a word document file you can parse it and transform it into an html file?-- Chris Hobbs Silver Valley Unified School District Head geek: Technology Services Coordinator webmaster: http://www.silvervalley.k12.ca.us/~chobbs/ postmaster: chobbs@silvervalley.k12.ca.us