[PHP] Try to get PHP to read the content from MS Word

2001-08-16 Thread Jack

Dear all
I'm trying to get PHP to read the content which created by MS Word.But when
php runs, and it just return Nothing (Blank ) to the browser!!
Actually , i was thinking to make a HTML Page which can let user to type in
the content, then the content will copy to a file and finally a php will
pick the content of that file and display it to browser!
I had tried to use fput and fgets before, which it work, but the second
time i type in something again from the input HTML, it doesn't change the
content of that file. actually it remain the same as i last type in!!!

IS there any good suggestion for performing this task???
User Input --- Copy content to a file --- Read content  display to
browser!

Thx
jack
[EMAIL PROTECTED]





-- 
PHP General 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]




Re: [PHP] Try to get PHP to read the content from MS Word

2001-08-16 Thread Mukul Sabharwal

Hi,

MS Word encodes it's contents, so you'll need to use
the COM interface to access MS Word Files.

A tutorial is available @ http://www.xeru.com on COM
with PHP4.

--- Jack [EMAIL PROTECTED] wrote:
 Dear all
 I'm trying to get PHP to read the content which
 created by MS Word.But when
 php runs, and it just return Nothing (Blank ) to the
 browser!!
 Actually , i was thinking to make a HTML Page which
 can let user to type in
 the content, then the content will copy to a file
 and finally a php will
 pick the content of that file and display it to
 browser!
 I had tried to use fput and fgets before, which
 it work, but the second
 time i type in something again from the input HTML,
 it doesn't change the
 content of that file. actually it remain the same as
 i last type in!!!
 
 IS there any good suggestion for performing this
 task???
 User Input --- Copy content to a file --- Read
 content  display to
 browser!
 
 Thx
 jack
 [EMAIL PROTECTED]
 
 
 
 
 
 -- 
 PHP General 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]
 


=
*
http://www.geocities.com/mimodit
*

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General 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]