Send upload file email attachment php

This tutorial explains how to send the uploaded file email attachment php. The below code shows how to send the uploaded file as an email attachment using php code.

This example gives step by step explanation for accessing the file from the form and preparing the email with message body and attachment. Please also refer other tutorial which explains how to send the all the files in a folder as attachment.

User role editor access wordpress plugins

This tutorial I am explaining how to give user role editor access wordpress plugins. Suppose you have installed a plugin but the plugin is not visible to the user with role editor.Here I am showing how to make the plugin accessible to the editor without installing the additional plugins or extensions.

In the wordpress repository you can came across lot of the plugins with set user permissions to different roles.But just for a plugin it is not worth to install additional plugins. In that case please use the following code.

Create custom table magento module

This tutorial explains how to create custom table magento module.The module create a table in the magento database using the install script.

With this module it create a table named ‘customer_form_table’ in the magento database with fields as shown below.