Category: PHP

Number Translation using PHP & JavaScript

Are you having problem with translating numbers to their equivalent signs in different languages? Don’t worry! This post helps you in number translation.

As an example, let’s convert English numbers to Devanagari equivalent and vice versa using PHP & JavaScript.

Sending email using Gmail and Amazon SES SMTP Servers via PHPMailer

The ability to send email is one of the most desired and sometimes essential features for any modern Web Applications. From sending email for ‘Email Verification’ to sending Notifications, Invoices or Newsletter, it has so many usages.

I will discuss how to send email using PHP mail() function, its limitations and how to use PHPMailer to overcome these issues in this article. Moreover, I will also show how to send email using Gmail and Amazon SES SMTP Servers via PHPMailer.

Page Caching to Improve Website Performance

A web cache is an approach for the temporary storage (caching) of web documents, such as HTML pages and images, to reduce bandwidth usage and server load. The content of a webpage can be stored in a file temporarily so that every time server receives a request, it doesn’t need to process time and again. This is termed as Page Caching.

In this article, we will be going through a simple approach for achieving Page Caching.

Implement Facebook Instant Articles using PHP SDK

Facebook Instant Article is immensely popular these days. With Instant articles, publisher can create fast, interactive articles on Facebook. In addition to this, Instant Article is a great way to monetize article.

Problem with RSS feed is it takes time to load new articles as it depends on FB end solely to fetch new articles from RSS. Sometimes, it may take long time to fetch which results in loss of revenue.

In this article, we came up with integrating Facebook Instant Articles using PHP SDK.

Image Steganography: Hiding text in images using PHP

Steganography is the art and science of writing hidden message in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message.

In this article, we are implementing Image Steganography using PHP by masking Least Significant Bit (LSB) of RGB value of image pixels.

Subscribe users to MailChimp List using PHP

Instead of using form provided by MailChimp, we can integrate MailChimp subscription to our website using API. All you need is a MailChimp Account and a MailChimp List.

Subscribing users to MailChimp List is quite simple using MailChimp API v3. Here’s the step by step guide to add subscriber with PHP and cURL.

Drag and Drop ajax file upload using DropzoneJS and PHP

Do you want to implement drag and drop AJAX file upload? It has never been easier. With DropzoneJS and PHP, it is super easy.

DropzoneJS or Dropzone.js is a lightweight open source javascript library that provides drag-and-drop file uploads with image previews.

We will begin this post with basic installation of DropzoneJS. Then, we will do basic file handling on the server. And then finally we will check some important configuration options provided by DropzoneJS.