PHP code to send email from contact form, send mail in PHP, PHP code to send email using smtp server, download PHP mailer

Hello friends today, I will tell you in this blog one of the most important topics, How to configure SMTP server to Send Email using PHP ?

Most web projects have email capabilities. Before uploading to an e-mail server, the e-mail functionality on the local server must be checked. However, the PHP mail() function does not work on localhost. In this article we show how to send email from localhost in PHP. With this simple PHP script you can send email from a local host server such as XAMPP, WAMP, or others.

We will use PHPMailer to send email from…


What is multi user role based admin?

For beginners, let me explain what this article is all about. Suppose you have online shopping cart. You have several employees, each with their own role. that is, some are responsible for data transmission (data carriers), others for customer support and others for sales. In this case you don’t want all modules / data to be available for every module. So you have to assign roles to them and then they have the privilege to only have limited data access.

I won’t be creating a full admin panel in this tutorial. I will show you a trick with MySQL database…


This post will explain you, how to make your own custom captcha in PHP using GD library in HTML form. Also look at how to validate the captcha with server-side PHP. Finally, we will also learn how to implement the captcha in the login form.

Do you know what drop is In web development, a captcha is an alphanumeric string randomly generated for the captcha and stored in a session variable which is confirmed by the captcha code entered by the user when filling out form fields.

Captcha is designed to prevent bots or spammers from filling out form fields…


However, in this post, we are using the OTP (One Time Password) method to verify the registered user’s email address. Email verification is an indispensable process to verify that registered users entered correct information when registering. This is also useful for preventing spam from being registered in our web application. For this reason, we verify the identity of the user and must confirm their email address. With this OTP method, if the user has provided us with a real email address, our system will send an email to that email address to confirm the email with the OTP number. All…


Drag and drop is a very effective function for creating user friendly web applications. In general, this feature allows you to drag items and drop them elsewhere on the web page. The drag and drop function can be used in web applications for various purposes. If you want to make the file upload feature more interactive, then drag and drop is the best option.

DropzoneJS is an open source JavaScript library that can be used to download HTML elements. This means that the user can drag files from the computer and drop them into this HTML element. DropzoneJS offers an…


In this post, we have a cover topic such as How to Create a Slider for Jquery Ajax Price Range Using PHP Using MySQL. It is helpful for the user to filter data or items based on the value generated when the drag area slider appears in the products and not the rate type. In the current scenario, this is the most common function on e-commerce websites to display products or sell products online. The Jquery UI Range slider is very useful for adding quality filters to our data or list items. The JQuery UI Range slider is mainly helpful…


In this post we will learn other operations for creating a CRUD operation using the Ajax JQuery method with object-oriented PHP programming scripts. In this section we have explained how we can update, delete and export records in MySQL database tables using object-oriented PHP scripts using the Ajax method. So we can change the data in the table without refreshing the page.

In the previous section we looked at inserting or adding new records to MySQL database tables using Ajax using PHP scripts and Display records. Every web or system application needs changing or updating or editing data because first…


In the post we will create a crud application using object-oriented PHP programming with Ajax, you will learn how to insert or add record to MySQL database tables using object-oriented PHP programming concepts with the JQuery Ajax method. So we can enter or add data and update data in the HTML table without reload the page.

In previous post you will learn PHP CRUD application with Mysql. In this system we will develop PHP Crud Operation without refreshing the page using object-oriented programming PHP with Ajax Jquery and Bootstrap Framework. When we use object oriented PHP code as the back…


jQuery Ajax comes in handy when you want to publish or fetch data from a PHP script without refreshing the page. Usually, you return an Ajax call string to update part of a web page. However, sometimes data for an object or array needs to be fetched from a PHP file to return values ​​in different ranges. With jQuery’s $.ajax() method, you can get the JSON data from a file and set it in an HTML element. In this tutorial, we will show you how to process Ajax queries with jQuery and call a PHP script that returns JSON data…


In this post we will see Form Validation using CakePHP 4 Model, Validation is a common to us every application. This will be step by step with example.

Now we will see two Form validation one is Users Table and second is Posts Table. there multiple input like email ,password, username and file validation using CakePHP 4 Model validation.

If don’t know, how to install CakePHP 4 in our local system.

You can see also

CakePHP 4 Tutorial Part 2: Add, Edit and Delete Operations

CakePHP 4 Tutorial Part 3: Working with Elements and Default Layout

A Complete Login and…

Webs Codex

Webs Codex is programming and web development blog

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store