I use the tools from here:


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:               [EMAIL PROTECTED]

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to