November 10, 2017 / Comments: 0

How to make a contact form with Captcha using PHP?

Simple contact form with Captcha using PHP Previously, we have looked into how to make a captcha image using PHP and now we are going to use it to make a simple but efficient, spam free, contact form. Once again, we will rely on PHP sessions to compare values of the generated captcha and input provided by a user. Other required conditions will be created in order to...

Tags: html  php  sessions  

October 12, 2017 / Comments: 0

How to create a login system using PHP and MYSQL?

PHP and MYSQL login system using PBKDF2 Today we are going to create a secure login system using PHP and MYSQL. It will use PBDKF2 hashing method with username as a salt and 100k iteration rounds to authenticate the user. Another feature we will make is to count login attempts and ban the ip address for 10 minutes after a few unsuccessful attempts. We will use...

Tags: php  mysql  sessions  hashing  

September 28, 2017 / Comments: 0

How to create a cookie based login system using PHP?

How to create a cookie based login using PHP? In this tutorial we are going to make a basic PHP authentication system using sessions to authenticate and also as an attempt counter that will set a cookie and hide the login screen after a few failed attempts. The script will contain ONE hardcoded user login credentials with BCRYPT hashing method as a form of user...

Tags: php  cookies  sessions  hashing