Send Email via SMTP Server in PHP using PHPMailer


Basically, mail() function in PHP is used to send email from the PHP script. When you sending email using the PHP mail() function, the mail is sent from your web server. Sometimes it may cause issues on sending an email and fails to deliver mail to the recipient. With SMTP you can overcome this issue, SMTP is the most recommended way to send email from the PHP script. When you send an email via SMTP, email is sent from the mail server rather than the web server.

Read Full →

How to Create Dynamic Image Gallery with jQuery, PHP & MySQL

An image gallery is a very common feature for the web application. Image gallery or photo gallery is an efficient way to showing the set of pictures. If you have a requirement to implement a photo gallery on the website, our source code will help you to do it easily within less time. This tutorial shows how you can create a dynamic image gallery in PHP with MySQL database and integrate image gallery popup using jQuery fancyBox plugin in this photo gallery.

Read Full →

Creating Price Range Slider using jQuery in PHP with MySQL


Range slider mostly used to filter data by price range. Price range slider allows the user to filter the recordset by selecting price range instead of entering the price manually. The price filter is a required feature in products listing and range slider is a perfect choice for price filter. Here we'll show how you can easily add a price range slider to the products list using jQuery in PHP and filter products by price range using jQuery, Ajax, PHP & MySQL.

Read Full →

Convert Text to Image in PHP


In many cases, we need to create a dynamic image on the fly and write text on the image in our web application. If you have a requirement like this, don't worry we'll provide a simple PHP script to convert text content to image and save it as PNG or JPG format. By using the TextToImage PHP class you can easily create an image and add multiple line text string to the image.

Read Full →

Generate SEO Friendly URL from String in PHP


Uses of the SEO friendly URL helps to improve the search engine ranking. Also, the search engine friendly URL gives an idea about the web page content. Our example script makes it easy to convert title string to SEO friendly URL in PHP and create clean and SEO friendly URL slug. The generateSeoURL() function takes a string as input and creates a human-friendly URL string.

Read Full →

Ajax Pagination with Search and Filter in PHP


Search is the most required feature on the data list and helps to make your web application user-friendly. Using search and filter, the user can sort the result set based on their requirement. We'll extend our Ajax pagination script with search and filter functionality. This tutorial will show you how to add ajax pagination to the data list with search and filter in PHP.

Read Full →

Accepting Payments for Multiple Items with PayPal in PHP


Using PayPal Add to Cart button, you can easily accept payment for multiple items in single checkout on your website. Also, you can validate transaction using PayPal IPN and insert the order items, payment details, and transaction information into the MySQL database. Learn how to integrate PayPal payments standard to accept payment for multiple items in PHP.

Read Full →

SMS Gateway Integration in PHP


These days SMS feature is used for the various purpose in the web application. For example user authentication, OTP verification, sending the notification to users. SMS gateway API helps to send SMS from PHP script on your website. SMS gateway integration process is very simple and less time required. Using our example code you can easily send SMS from your website using SMS gateway API and PHP.

Read Full →

Forgot Password Recovery in Login System with PHP and MySQL


Forgot password recovery feature is mandatory for login system. It helps the user to update account password which they have forgotten. Using forgot password link user can easily reset their account password. This tutorial helps you to implement forgot password recovery functionality in login system with PHP and MySQL.

Read Full →