screenshot 1 3 - Sign up Form with Email Verification in PHP/MySQLi - Free Source Code

Sign up Form with Email Verification in PHP/MySQLi – Free Source Code

Posted on

screenshot 1 - Sign up Form with Email Verification in PHP/MySQLi - Free Source Code

This tutorial will train you on how you can ship e mail/verification e mail in PHP/MySQLi utilizing mail() operate. The operate will each work in native server(ex. XAMMP) or hosted server(on-line) however in case you needed to ship e mail through the native server, it is advisable to modify your native server to permit it to ship e mail. In my case, I am utilizing XAMMP, so, I will present you how you can arrange your XAMMP to ship e mail.

Configure php.ini

1. Open php.ini in C:xamppphpphp.ini.
2. Discover extension=php_openssl.dll and take away the semicolon from the start of that line.
3. Discover [mail function], allow the ff. by eradicating the semicolon in the beginning of the road then, change their values:

add1 - Sign up Form with Email Verification in PHP/MySQLi - Free Source Code

Configure sendmail.ini

1. Open sendmail.ini in C:xamppsendmailsendmail.ini
2. Discover [sendmail], allow the ff. by eradicating the semicolon in the beginning of the road, then change their values:

add3 - Sign up Form with Email Verification in PHP/MySQLi - Free Source Code

Lastly. make sure that to show this on to permit XAMMP to ship e mail to your e mail. Use this link.

And also you’re carried out. Restart XAMMP and you must now be capable to ship e mail utilizing your XAMMP.

To check in case your XAMMP is working, here is our instance. We are going to create a registration with verification e mail.

NOTE: Scripts and CSS used on this tutorial are hosted, so, you would possibly want web connection for them to work.

database 6 9 - Sign up Form with Email Verification in PHP/MySQLi - Free Source Code

Subsequent, we create our connection to our database. This can function the bridge between our varieties and database. We title this as conn.php.

This incorporates our login kind however you may entry a hyperlink right here if you wish to enroll.


Source link