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

linux-terminal-command2

Package Installation Commands for Ubuntu

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

 

 

 

 

 

 

Read More

Hide PHP and Apache web server versions from response header

Normal PHP & Apache installations won’t hide the server details from request response headers. See below [with default configuration],

rsz_1screenshot_from_2013-10-11_071725

To hide PHP & Apache web server version details from response headers, you have to edit few configuration files on your hosted server.

 

 

After made the above changes, restart the apache web server.

 

Now check the response header from your server,

rsz_screenshot_from_2013-10-11_082700

See the difference between the response headers before and after changing the configurations.

Note: These changes won’t made your server more secure. It is just hiding the configuration details from hackers.

 

Read More

Insert a object to AWS S3 using Zend PHP Framework

Here, I’m giving an example to insert a object to S3 using Zend PHP framework. Zend itself had built in library classes to communicate with AWS S3. So things are very easy.¬† Lets see how to do this. First we have to login to AWS console using the credentials which you had. Select¬† S3 console. You can create S3 bucket directly through AWS console or can create through code itself. Refer the example given below.

 

Read More