Category: PHP
Implementing IP Geolocation using Free IP2Location LITE and PHP
Visit any websites and you’ll most likely find some form of localization being used. The most common is the showing of ads local to you…
Find Geolocation using IP Address in PHP
Finding the Geolocation and country information of a user is necessary for most websites. Probably you need to show different content based on a user’s…
Send Email using Mailjet(Alternative to Gmail SMTP Server) in PHP
The website owners regularly need to send emails to the users. If you are using PHP’s mail() function then soon you will realize your emails…
How to Get Video Information from YouTube and Other Platforms in PHP
Recently, I came across this GitHub library which gives us the ability to get Video information from YouTube and other video platforms. It gives support…
PayPal Payment Gateway Integration in PHP using PayPal REST API
PayPal is one of the most trusted payment gateways on the Internet. It is widely used on websites to accept online payments. However, integrating the…
How to Read Text from Image in PHP
Do you want to read text from an image in PHP? There are certain scenarios where you want to programmatically extract the text written on…
Accept Credit Card Payments using PayPal Payments Pro in PHP
Are you looking to integrate a payment gateway that accepts credit card payments? Credit card payment is one of the best options to accept online…
Share Post on LinkedIn Using LinkedIn API and PHP
Do you want to share posts on LinkedIn using PHP? You may wish to build an automated system that can share your post on LinkedIn…
How to Export MySQL Database Data to Excel/CSV Using PHP
Recently I published an article on How to Read CSV and Excel Files in PHP Using PhpSpreadsheet. One of the readers asked how to use…
How to Log Errors and Warnings(into error.log file) in a PHP
This is a quick post on error logging in PHP. The reason for sharing this small tip is I found it can be helpful for…