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
|Three Cool Classes and One Trick|
Categories : PHP, PHP Classes, Graphics, Email
|Class for sending mail with MIME attachments in multipart format using external sendmail, mimencode and zip|
Categories : Email, Network, PHP, PHP Classes
|Password Creator: This PHP code exmaple shows how to use bitwise operations on a single variable and using it as a flagged variable. The class generates passwords of a given length using specified characters and the flags.|
Categories : PHP, PHP Classes, Algorithms, Security
|Example of using the pcCalendar class, article 1468 on weberdev.com. Calendar example.|
Categories : PHP, Date Time, PHP Classes, Calendar
|PHP Transfer data from text file to Mysql Table|
Categories : PHP, PHP Classes, Filesystem, Databases, MySQL
|Sitmap Generator PHP class|
Categories : PHP, PHP Classes, Search Engines, Site Planning
|an example of the cyberlib payment class|
Categories : PHP, PHP Classes, Ecommerce, Credit Cards
|Snoopy - the PHP net client v0.1|
Categories : PHP, PHP Classes
|Sort the results from a SELECT query (any number of columns) into an array automatically.|
Categories : PHP, PHP Classes, Arrays, Databases, MySQL
|A beginner's session handling class|
Categories : PHP, PHP Classes, Sessions, Beginner Guides
Categories : PHP, PHP Classes, Databases, MySQL, Environment Variables
|Most of the browsers, especially Internet Explorer, behave in different ways. Hence it become necessary to use Browser detection to fix the non standard behavior of the browser. This is a browser sniffer class that can be used for the above purpose.|
Categories : PHP, PHP Classes, Browsers
|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