PHP and MySQL Code

Start typing to search for PHP and MySQL Code Snippets and Articles Search

Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
Title : MS Word Mail Merge Automation (COM)
Categories : PHP, PHP Classes, COM Click here to Update Your Picture
Joseph Crawford
Date : Sep 30th 2005
Grade : 3 of 5 (graded 6 times)
Viewed : 14601
File :
Images : No Images for this code example.
Search : More code by Joseph Crawford
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
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
Expand Computers
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
actually launched.

PostGreSQL and MySQL 2 in 1 db Manager
Categories : PHP, PHP Classes, Databases, PostgreSQL, MySQL
Simple class to build tables with style sheets
Categories : HTML and PHP, PHP Classes, PHP
Snoopy - the PHP net client v0.1
Categories : PHP, PHP Classes
O-LOC : PHP 5.x Internationalization class and back-office. manage the display of translations on a localized web application.
Categories : PHP, PHP Classes, Web Applications, Languages, DOM XML
Url To Pdf Report By Remote Application
Categories : PHP, PHP Classes, PDF, CURL
Example of using the pcCalendar class, article 1468 on Calendar example.
Categories : PHP, Date Time, PHP Classes, Calendar
XML easy parser
Categories : PHP, XML, PHP Classes
SQLite PHP Database Wrapper
Categories : PHP, PHP Classes, Databases, SQLite, Beginner Guides
Simple class that uses GD to draw pie charts. After the class definition there's some sample code to demonstrate how you use the class.
Categories : Graphics, PHP, PHP Classes, GD image library, Charts and Graphs
Class to build a select tag in html, useful to build select boxes from a data base
Categories : PHP, HTML and PHP, PHP Classes
3 lines of Code to extract Tar, Zip, Gzip etc..
Categories : PHP, Filesystem, PHP Classes, Compression
A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Categories : PHP, PHP Classes, Calendar, Date Time
php for odbc /* connect to access from odbc */
Categories : PHP Classes, ODBC, MS Access, PHP
Form Elements Class
Categories : PHP, PHP Classes, Form Processing
STR - a Perl-like string manipulator class - The str class provides 4 perl-like methods for manipulating strings and other scalar variables.
Categories : PHP, PHP Classes, Perl, Strings