web 2.0

How to use PHP & Connect to Word.Application

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


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<?
$WrdApp = new COM("Word.Application");
if($WrdApp)
{
echo("Word.Application Connected.");
}
else
{
echo("Cannot Connect to Word.Application");
}
?>
</body>
</html>

Create a php file and save to path root-path/myphp/

Run
http://localhost/myphp/php_word_connect.php

Screenshot

PHP & Connect to Word.Application
.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.