ses

Amazon SES integration using PHP SDK

This is a sample way to integrate Amazon Simple Email Service. I have done this, by using PHP SDK provided by AWS.

Before that please ensure you have Amazon Web Service account.

Then get the Access Key and Secret Key from the IAM console which will be used to communicate with AWS.

Next step is, download AWS SDK for PHP from http://aws.amazon.com/sdk-for-php/ and extract the downloaded file and add the PHP SDK library file to your project.

Include concerned SDK libraries in your project as shown below:

If you have any queries on this add a comment to this post, so that I can help you to resolve the problems to integrate SES service.

Happy Emailing…

Read More

ffmpeg

Install latest ffmpeg on ubuntu 12.04 or 14.04

Another way to install latest ffmpeg library on ubuntu 12.04 or 14.04.

Courtesy: Github

OR

 

Read More

logo-mysql-heure-date

Convert timestamp to Date readable format in MySQL query

SQL query to convert timestamp to date readable format, which is stored in MySQL database.

SELECT t.*, DATE_FORMAT(FROM_UNIXTIME(t.enteredOn), ‘%e %b %Y’) AS formated_date FROM tbl_sample AS t;

For the detailed reference on DATE_FORMAT() and FROM_UNIXTIME()

Read More

AdxYT

Get Mime Type of a file using PHP

A simple way to get the mime type of all valid files using PHP. Refer the code below:

 

Read More

linux-terminal-command2

Package Installation Commands for Ubuntu

Please have a look into the following package installation commands through Terminal.

 

 

 

 

 

 

Read More