Like this code?
Show the author your appreciation.
This example may be a bit tough for some of you to get working so i
will explain here how to resolve any issues you may have running
this out of the box.
First you will need to edit the script to use your database object,
or alter it to use php's mysql functions to connect to the database.
If this does not work after that you may find yourself having to edit
the COM permissions. Especially if you are running IIS. You must
allow your web user usually IUSER_MACHINNAME to have permission to
run word, to do this click Start -> Run and launch the program dcomcnfg.
Expand Component Services
Right Click My Computer
Select the COM Security Tab
Click Edit Defaults for both permissions and add your web user
apply settings and close out, try running the script again. Note
that at first you may want to make the MailMerge::$visible = TRUE
so that it will open word and you can see any errors. When all
works ok set it back to FALSE so that the application GUI is not
|The class to check load time of your script
VERY usefull for relatively slow applications, but not only..|
Categories : PHP, PHP Classes, Debugging
|Request Method Class - seful for situations like form processing or API development. Requires PHP5 for the magic __call() method.
Categories : PHP, PHP Classes, HTTP, Headers
|Three Cool Classes and One Trick|
Categories : PHP, PHP Classes, Graphics, Email
|Filter - A simple class that lets you use multiple functions to create custom filters.|
Categories : PHP, PHP Classes, Strings
|DbObject - A PHP wrapper for working with various databases|
Categories : Databases, PHP, PHP Classes
|[PHP5] aDB PDO LIKE Database Abstraction. Switch easily from one db server to another, strong errors management, manage transactions, queries preparation and more.|
Categories : PHP, PHP Classes, Databases, MS SQL Server, MySQL
|The GTV.class allows you to extract a value between any HTML tag or between any TEXT on a web page.|
Categories : PHP, PHP Classes, Regexps
|Bs_IniHandler is a class that can read and write ini-style files (and strings)|
Categories : PHP, Filesystem, PHP Classes
|Use this class to connect your database transparently...|
Categories : PHP Classes, Databases, PHP
|A damaged image generator (class) for validating text.
CAPTCHA - Completely Automated Public Turing test to tell Computers and Humans Apart|
Categories : PHP, PHP Classes, Security, GD image library, Security
|A Timing Class|
Categories : PHP, PHP Classes, Date Time
|Mssql database Manager|
Categories : PHP, Databases, MS SQL Server, Classes and Objects, PHP Classes
|My Box - PHP Class that calculates the volumetric weight of a package.
Categories : PHP, Object Oriented, PHP Classes, Beginner Guides, Payment Gateways
|Customizable Calendar Class|
Categories : HTML and PHP, Date Time, PHP, PHP Classes, Calendar
|Aspect-Oriented Programming Library fo PHP|
Categories : PHP, PHP Classes, Aspect Oriented Programming