Category: PHP

Find the latest articles from The Debuggers on PHP. Read articles, tips, tricks, tutorial, useful codes, tools, scripts on PHP.

Messenger Bot Subscription Using Broadcast API in PHP

If you are planning to implement Subscription System in Messenger Bot, here is a good news. With the release of Broadcast API, sending message to numerous recipients has been so much easier.

In this article, I am going to discuss how to broadcast message to multiple users through Messenger Bot.

Transparent Circular Crop using PHP GD

The GD library is a graphics drawing library that provides tools for manipulating image data. We can perform various operations and manipulations with image using this powerful library.

In this article, I will show how to crop an image to transparent circular image using PHP GD Library.

Bulk Insert Update into MySQL using PHP

Sometimes we need to insert large data set into database table. Using one INSERT statement per row is quite inefficient. Instead of this, we can assemble one INSERT statement with multiple rows.

In this article, I am going to show how to perform bulk insert into MySQL table using PHP.

Search YouTube videos using YouTube API 3.0

In this post, I’ll share how to search YouTube videos by using YouTube Data API v3 and PHP. I’ll show how to search videos by type (video, channel, playlist), keywords and other search terms. In addition to this, I’ll show how to order the result by various parameters.

After reading this article, you can make search queries like getting list of videos from specific channel. Also you can filter videos by keywords and other parameters.

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.