WordPress has an extremely easy to use plugin system which gives developers huge flexibility when it comes to building a web site. In this tutorial I will cover the basics of writing your very own WordPress plugin. Continue reading Introduction to writing WordPress plugins
PHP mail attachment script
This custom function or PHP mail attachment script is able to send a plain text email message together with a single attachment file. The attachment file has to be uploaded first or you can use a file which already exists on your web server. There are much better and more advanced PHP scripts on the Internet, but I hope this example will help you to understand, how it’s possible to send an email message plus attachment by using some PHP code. Continue reading PHP mail attachment script
Introduction to MySQL Joins
MySQL joins simply takes two tables and joins them together using one or more common values which they both share. For example if you had a table users and a table posts and you wanted to get all posts by a certain user you could use a query to get all posts where posts.userid = users.user_id. Continue reading Introduction to MySQL Joins
How to use Google Custom Search (CSE) for your site search
A few month a ago Google introduced the Ajax powered Custom Search feature, which is an extension on the existing Search control class. The CSE is a great site search feature for your website with additional features like: Continue reading How to use Google Custom Search (CSE) for your site search
Multiple email attachments and upload script
I got several times question about sending email messages with multiple attachments while using the upload class together and the attachment mailer class together. This short tutorial will show how-to do that. Continue reading Multiple email attachments and upload script