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.

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.

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

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

Add Persistent Menu and Buttons to your messenger bot

In my previous post on building Facebook Messenger Chat Bot using PHP, I showed how to build a simple chat bot that responds back with text message. Now that we have a Bot, it's time to personalize it. We can make it more user friendly as well as visually appealing by adding features like