How to Upload Multiple image without page reload using PHP and jQuery
Programmer Desk
by navneet
1y ago
This tutorial we going to implement Multiple image upload without page refresh. we use base 64 to convert into image and store. upload multiple image and store all image in single submit button click. Here are the steps to follow. Create index.php file Add Progress bar on submit button click Create JS file for image upload and progress bar Store image in server Let’s start with creating form and we use bootstrap as design. Create index.php file <!DOCTYPE html> <html lang="en"> <head> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css ..read more
Visit website
How to send mail using SwiftMailer in php
Programmer Desk
by navneet
1y ago
This tutorial we are going send mail using Swiftmailer. We are going to create SMTP user to send mail here are the steps. Create SMTP user. Install SwiftMailer using composer. Create File for sending mail. Install SwiftMailer using Composer. composer require swiftmailer/swiftmailer When installation completed, create new file for sending mail and include autoload.php file. Create sendmail.php file <?php require_once './vendor/autoload.php'; $transport = (new Swift_SmtpTransport(SMTP_SERVER, SMTP_Port)) ->setUsername(SMTP_Username) ->setPassword(SMTP_Password) ; // Create the ..read more
Visit website
How to Extract domain name from email
Programmer Desk
by navneet
1y ago
This tutorial extract domain name from email account. you can use many way to achieve this below is simple step to get extract domain name. $email='domainextract@gmail.com'; $domain = substr(strrchr($email, "@"), 1); Other way $domain = array_pop(explode('@', $email)); The post How to Extract domain name from email first appeared on Programmer Desk ..read more
Visit website
How to integrate google reCaptcha in PHP
Programmer Desk
by navneet
1y ago
google recaptcha integratein PHP, here are steps to follow: Go to https://www.google.com/recaptcha/admin/create Enter domain name and select reCaptcha type. Generate site and secret key. Create file and add google script <script src=’https://www.google.com/recaptcha/api.js’ async defer ></script> Create index.php file <html> <head> <script src='https://www.google.com/recaptcha/api.js' async defer ></script> </head> <body> <form action="verify.php" method="post"> <div data-sitekey="ENTER_SITE_ ..read more
Visit website
How to Convert HTML to PDF with DOMPdf
Programmer Desk
by navneet
1y ago
This tutorial we are going to Generate PDF file using DOMPdf. Dompdf is powerful library for generating PDF files. So let’s get started with simple example. Download composer and install it. Use below command to get it from github. composer require dompdf/dompdf include autoload file make sure it’s loaded or not. require('./vendor/autoload.php'); Let’s create index.php file and run it . <?php require('./vendor/autoload.php'); // reference the Dompdf namespace use Dompdf\Dompdf; // instantiate and use the dompdf class $dompdf = new Dompdf(array('enable_remote' => true)); $html ..read more
Visit website
How to Upload Multiple image without page reload using PHP and jQuery
Programmer Desk
by navneet
1y ago
This tutorial we going to implement Multiple image upload without page refresh. we use base 64 to convert into image and store. upload multiple image and store all image in single submit button click. Here are the steps to follow. Create index.php file Add Progress bar on submit button click Create JS file for image upload and progress bar Store image in server Let’s start with creating form and we use bootstrap as design. Create index.php file <!DOCTYPE html> <html lang="en"> <head> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css ..read more
Visit website
How to send mail using SwiftMailer in php
Programmer Desk
by navneet
1y ago
This tutorial we are going send mail using Swiftmailer. We are going to create SMTP user to send mail here are the steps. Create SMTP user. Install SwiftMailer using composer. Create File for sending mail. Install SwiftMailer using Composer. composer require swiftmailer/swiftmailer When installation completed, create new file for sending mail and include autoload.php file. Create sendmail.php file <?php require_once './vendor/autoload.php'; $transport = (new Swift_SmtpTransport(SMTP_SERVER, SMTP_Port)) ->setUsername(SMTP_Username) ->setPassword(SMTP_Password) ; // Create the ..read more
Visit website
How to Extract domain name from email
Programmer Desk
by navneet
1y ago
This tutorial extract domain name from email account. you can use many way to achieve this below is simple step to get extract domain name. $email='domainextract@gmail.com'; $domain = substr(strrchr($email, "@"), 1); Other way $domain = array_pop(explode('@', $email)); The post How to Extract domain name from email first appeared on Programmer Desk ..read more
Visit website
How to send mail using SwiftMailer in php
Programmer Desk
by navneet
1y ago
This tutorial we are going send mail using Swiftmailer. We are going to create SMTP user to send mail here are the steps. Create SMTP user. Install SwiftMailer using composer. Create File for sending mail. Install SwiftMailer using Composer. composer require swiftmailer/swiftmailer When installation completed, create new file for sending mail and include autoload.php file. Create sendmail.php file <?php require_once './vendor/autoload.php'; $transport = (new Swift_SmtpTransport(SMTP_SERVER, SMTP_Port)) ->setUsername(SMTP_Username) ->setPassword(SMTP_Password) ; // Create the ..read more
Visit website
How to integrate google reCaptcha in PHP
Programmer Desk
by navneet
1y ago
google recaptcha integratein PHP, here are steps to follow: Go to https://www.google.com/recaptcha/admin/create Enter domain name and select reCaptcha type. Generate site and secret key. Create file and add google script <script src=’https://www.google.com/recaptcha/api.js’ async defer ></script> Create index.php file <html> <head> <script src='https://www.google.com/recaptcha/api.js' async defer ></script> </head> <body> <form action="verify.php" method="post"> <div data-sitekey="ENTER_SITE_ ..read more
Visit website

Follow Programmer Desk on FeedSpot

Continue with Google
Continue with Apple
OR