PHP

PHP Send HTML Email Template

Hello! In this post, you will learn to send HTML content inside an e-mail body. In PHP, you can achieve this in many ways. Below two are commonly used. 1.  Using inbuilt 'mail()' function of PHP,or 2. Using 'PHPMailer' library. In the first one, you need to have a properly configured SMTP server of your own, since using Gmail like service provider's server you will be asked to handle various authentication stuff. So here, I will show you how to use PHPMailer library to send mail using Gmail's SMTP server. Let's start. Step 1. Change Settings in your Gmail account: For this you...
Keep Reading

Send Email via Gmail SMTP Server in PHP

Hello, Folks! We're going to learn how we can send an email using Gmail SMTP server from a PHP page/script. SMTP is an abbreviation for Simple Mail Transfer Protocol. SMTP is an Internet standard for electronic mail, i.e., email. All mail servers and other mail transfer agents use SMTP to send and receive emails. Firstly, we'll take a look at the PHP mailer library we're going to use. You can take this library as an alternative of mail() function in PHP. After that, we'll discuss the process. In case you want to send emails via Gmail, you can choose a...
Keep Reading

PHP Email Verification Script For Downloading E-Book

Email verification is a process to check the user authenticity, whether the person who is trying to access the services is right user or wrong user. True register users are allowed to use all services provided by the provider and fake users are denied because they are not authorized users to use the specific services. PHP  Email Verification Script for Downloading e-book is all about to download the e-books after a successful email authentication. If a user is successfully authenticated in email verification then they get the permission to download the e-book. This script performs mainly three major task listed below. Get User...
Keep Reading

PHP Rest API in Codeigniter

Before starting REST API, I would like to explain what exactly an API is. API is an abbreviation for Application Programming Interface. API is a set of instructions ( functions and routines) that accomplish a specific task or are allowed to interact with a specific software component like database or computer hardware. Why API? API helps you to perform CRUD (Create, Read, Update and Delete) operation on a particular website from remote place. Let's say.. You have a website where you have applied opt-in form to capture leads of the users. Any user who register on your website, data will be...
Keep Reading

CRUD operations with checkbox using PHP and MySQL.

PHP and MySql are one of the most widely used technology to interact with the database. In our previous tutorials, we have performed a simple operation to get values of multiple checked checkboxes using PHP. In this blog post, we are going to demonstrate an example  of CRUD (create, read, update and delete) operations with checkboxes using PHP and MySql. Check-box Home Preview To get  value of a checked checkbox : demo_checkbox.php [html] <html> <head> <title>Check Box Demo</title> <link rel="stylesheet" href="css/checkbox.css" /> </head> <body> <div class="container"> <div class="main"> <h2>Select the Services you want:</h2><hr/> <form action="checkbox.php" method="post"> \checkbox form to get the values...
Keep Reading

PHP Read More Link

This tutorial enables you to display two records when user clicks on read more link using object-oriented funtionality. In my example, I have made a folder named read-more-php and placed these pages index.php, config.php, connection.php and style.css. Further set $get_limit variable to travel in the url through the read more link which increments by 2 each time when user clicks on the link and store its value in $limit variable which is passed to sql query to limits the records while displaying it on page.  My SQL Code Segment: To create database and table, execute following codes in your MySQL...
Keep Reading

Sql Injection Prevention In PHP With MySQLi

SQL Injection is the hacking technique which attempts to pass SQL commands  through a web application for execution by the backend database. I am going to explain SQL injection prevention with an example of a login page. Possibilities when a user login:- 1)  A valid user enters a valid username and password then he login successfully. [php]$user_name=$_POST['dname'];//user name is amit $user_password=$_POST['dpass'];//password is 12345 $query="select * from login_details where user_name='amit' and user_password='12345' ";[/php] 2)  An invalid user enters username or password then an error message is displayed  i.e. “Invalid username or password, please try again!!!.” 3)  A smart user  enters such...
Keep Reading

PayPal Sandbox Credit Card Creation

The PayPal Sandbox is a virtual testing environment for testing PayPal application process request without touching any live PayPal accounts. In PayPal you can done payment via buyer email id or PayPal sandbox credit card. In our previous blog post we covered PayPal's different topic like PayPal IPN, PayPal Mass Payments, PayPal shopping Cart and much more. In these all example, we have made payment via buyer email id. And we also cover PayPal, Credit Card Payment in PHP where we test this application via PayPal sandbox credit card. In this tutorial we are going to explain how we can...
Keep Reading

Pizza Order System with PayPal Using PHP

PayPal is a trusted leader in online payments which enables buyers and businesses to send and receive money online. In our previous blog we have already seen, PayPal integration in PHP with many different modes like PayPal PHP Integration, PayPal OAuth, PayPal Express Checkout, PayPal Mass Payment, PayPal IPN, Paypal Recurring Payments and many more. Using PayPal, we can make a website which gets pizza order by a user where the user can pay the amount using PayPal. Here the user can select the size of pizza, which is small, medium and large and also add topping to their pizza...
Keep Reading

PayPal Adaptive Payments for Marketplace in PHP

The PayPal Adaptive payments split payments to one or more than one receiver PayPal accounts. Using PayPal adaptive payment, we can make simple pay, parallel payments, and chained payments. What is Chained Payment..? Chained payment is part of PayPal Adaptive payments. Using chained payment sender can send a full amount of payment to primary receiver. After getting the full amount by primary receiver that amount will automatically split and sent to secondary receiver. For example: Product's Marketplace and commission based website. In our previous blog post we have covered PayPal adaptive payments to make Parallel Payments. In this tutorial we are going to...
Keep Reading

PayPal IPN in PHP

PayPal Instant Notification (IPN) is a message service that allows you to integrate your PayPal payments with your website’s back-end operations and administrative function. Using this merchant will automatically notify events related to PayPal transactions. IPN is very useful when you need to required functionality like automatically fulfilling orders and providing customer, with order status. In our previous blog post focused on how we use PayPal adaptive payments in PHP for making parallel payments. In this blog post, we are going demonstrate how we configure PayPal IPN script in PHP.   Watch the live demo or download code from the link given...
Keep Reading

Paypal Parallel Payments Using PHP

The PayPal Adaptive Payments API is used to transfer money from a sender's PayPal account to one or more than one PayPal receiver PayPal accounts. You can use PayPal Adaptive Payments to make simple payments, chained payments, and parallels payments. In this tutorial, we are going to demonstrate how we use PayPal adaptive apartment to make parallel payment. Parallel payments are useful in cases when a buyer intends to make a single payment for items from multiple sellers. Here we are demonstrating a trip planning website where a customer, can book a flight, hotel, and car, where total amount will...
Keep Reading

Paypal Recurring Payments for Installment Plan in PHP

Use PayPal Installment Plan button for installments based recurring payments. Using this buyer can pay, the full amount or pay an amount in installment, without any interest. In our previous blog post, we have discussed how we can use PayPal Subscription Button, Example for any service and product Subscription and PayPal Donate Button, Example for Any charity. In this blog post, we are going to explain how we can use the PayPal Installment button for recurring payment. Using  this, we can sell a product with up to 3 or 4 installments. Watch the live demo or download code from the link given...
Keep Reading

PayPal Subscription Button for Recurring Payments

Use PayPal Subscribe button to access payments automatically from product's buyers and to charge ongoing payment for membership access. Using this, buyer get the goods or services as daily, weekly, monthly, and yearly. In our previous blogs post, we have discussed how we can use PayPal payments in different modes like Shopping cart, Mass payment and Digital Goods etc. You can create Subscribe buttons that you add to your website by using a tool on the PayPal website or you can write the HTML code for it manually. In this blog post, we are going to explain how we can use...
Keep Reading

PayPal Donate Button in PHP

Using PayPal Donate button, we can collect contribution payments. It lets you to Donate fixed amounts or amounts entered by donors. When you click on Donate button, it goes to a special link that is maintained by PayPal for that particular button. In our previous blogs post, we have discussed how we can use PayPal payments in different modes like Shopping cart, Mass payment and Digital Goods etc. You can create Donate buttons that you add to your website by using a tool on the PayPal website or you can write the HTML code for it manually. Here we are going...
Keep Reading

PayPal Express Checkout API for Shopping Cart in PHP

In our previous blogs, we have discussed, how we can use PayPal express checkout for selling a Single Product and Digital Goods. Now we are going to explain how we can use PayPal express checkout for making shopping cart based website using PHP session and selling multiple products. Adding cart on the website lets users to buy multiple products using PayPal. Where PHP session based shopping cart collects the product which buyer wants to buy, and they will be able to pay for multiple products using a PayPal account. Here we demonstrate a furniture selling site with cart option. Where buyer can select quantity...
Keep Reading

PayPal Shopping Cart in PHP

PayPal "Add to Cart" button enables you to create PayPal's Shopping Cart on your website. By PayPal Shopping Cart merchants can make a cart based website where buyers select multiple items and pay for them together with a single payment. When buyers will click on"Add to cart" button the products will be added to their PayPal shopping carts and by clicking on "View Carts" button they can review the products added, before checkout to make payments. In this blog post, we are going to demonstrate how we can customize PayPal "Add to Cart" button for making cart based website.  Watch...
Keep Reading

PayPal Credit Card Payment in PHP

PayPal, Credit Card Payment API (means PayPal PHP merchant SDK) deals to process a credit card payment or DoDirect Payment on your website. PayPal Credit Card Payment works in a few steps in the merchant's website rather than going to the actual PayPal page and then logging in and returning back to the same. The key thing is, using PayPal Credit Card, the payment process is done on your web page only. As the name also depicts it is a direct payment. In our previous blog post, we have covered the PayPal Express Checkout for Digital Goods and Single Product using...
Keep Reading
‹ 1 2 3 4 5 ›
Our Solution
  • Subscription Billing
  • Form Builder
  • Email Marketing
  • Email List Cleaning
Connect With Us
  • Contact Us
  • Careers
Company
  • About Us
  • Privacy Policy
  • Terms and Conditions
  • Affiliate
  • Branding
Resources
  • Blog
  • Blog Categories
  • FormGet Features
  • Email Templates
  • Form Templates
PHP
Analytics
PHP

FormGet © 2021. All rights reserved.

Made with love for you