Learning & Integrating web technology and code help directory

How to use PHP & Connect to Word.Application

No comments
How to use PHP & Connect to Word.Application The Learn / Lutorial / Sctipts php programming how to using  PHP Connect to Word.Application (DCOM)
ShotDev Focus:
- PHP  & Connect to Word.Application (DCOM)
Example
php_word_connect.php

  1. <html>  
  2. <head>  
  3. <title>ShotDev.Com Tutorial</title>  
  4. </head>  
  5. <body>  
  6. <?  
  7. $WrdApp = new COM("Word.Application");  
  8. if($WrdApp)  
  9. {  
  10. echo("Word.Application Connected.");  
  11. }  
  12. else  
  13. {  
  14. echo("Cannot Connect to Word.Application");  
  15. }  
  16. ?>  
  17. </body>  
  18. </html>  
Create a php file and save to path root-path/myphp/
Screenshot
PHP & Connect to Word.Application
.
.

No comments :

Post a Comment