PHP Classes

help solve this bug

Recommend this page to a friend!

      MS files converter  >  All threads  >  help solve this bug  >  (Un) Subscribe thread alerts  
Subject:help solve this bug
Summary:cannot execut this line $word->Documents->Open($filename) or die
Messages:1
Author:ALian Recoba
Date:2006-08-04 12:31:48
 

  1. help solve this bug   Reply   Report abuse  
Picture of ALian Recoba ALian Recoba - 2006-08-04 12:31:48
"
* Gnu GPL code (see www.fsf.org for more information).
* Tested on win98 + Apache1.3 PHP 4.8 dev as CGI - Word 2000
* This file should be saved in the PHP's include directory.
*If you try to use COM in XP/win2k or NT, you need to
set-up permissions to the application
with the program DCOMCNFG.EXE :
Run DCOMCNFG.exe, select the application and add permissions
in Security:
- Custom Access Permissions: “Allow”
Then Edit / Add
- the “IUSR_<servername>” user access to the object.- The user
account to run the application: “The interactive user”
And close.
"

I dont understand how to go about that, i didnt find word in the list of applications, i use the script, it works fine, but..........it cannot execute this line.


$word->Documents->Open($filename) or die ("Cannot open file");

any help?