Creating a wordpress plugin is a lot easier than it might first seem. As long as you know how to write PHP code (or any similar language) you should be able to get a plugin together pretty quickly. The aim of this tutorial is to show you how to create a basic template for a…
Had a look around online and couldnt find any decent SMTP plugin for sending and receiving emails through wordpress. Seems like it makes a lot of people angry for wordpress to do such a thing which seemed odd, so I decided to start working on one myself. The goal of this plugin is to add…
Most standard PDO tutorials from around the web are going to demonstrate using a MySQL database with apache as a web host. The PDO connection string for this setup is not going to work if you want to connect to a SQL Server database using Microsofts IIS server. The first step is to make sure…
Reverse DNS is a common method used to help keep your emails out of the dreaded spam filters. Fortunately, once you know how, reverse DNS is a quick and easy way to improve the trustability of your emails. Reverse DNS alone is not enough to guarantee that your emails will successfully make it to a…
Drag and drop is cool, but for me i found that it was causing more trouble than good. So if you are like me and are sick of accidentally dropping a folder into another sub directory, then it's best to just disable it completely. Unfortunately this cannot be done directly using the init settings (at…
DomainKeys Identified Mail (DKIM) is a process used to validate emails preventing someone from sending spam email using an unauthorised email address. The process works using 2 encrypted SSL keys. A public key which is obviously made available to the public and a private key which only you / your web server will know. When…
When trying to upload any files i was getting an error "could not acquire lock for ...". I initially thought this was some sort of permission error since it makes sense. I tried setting the permissions for the entire images folder to 777 and made sure the ownership of the directories was correct, yet it…
Setting up Postfix is relatively simple, but can become difficult if you don't have the correct configuration details. This guide will assume that you have everything sorted out with your MX values and A records. The following guide was tested using postfix-2.6.6-6.el6_5.x86_64 on a centOS server. Install Postfix First things first you need to install…
In order to be able to use RewriteEngine to rewrite URLs you will need to have mod_rewrite installed for Apache. To Install it enter the line of code below into terminal. The following line will install for CentOS. This command may differ for different Linux distributions. [crayon-5d31348a816af075459245/] Once installed you will need to open your…
Apache allows you to map file system paths to alias file paths. This allows you to place files or code in a folder outside of your websites install directory, but still allows you to access the contents of the folder through your websites domain name. Apache is typically configured to include all files in "/etc/httpd/conf.d/"…