October 27, 2017 / Comments: 0

How to create Captcha with PHP GD library functions?

Create Captcha from scratch using PHP GD library So today, we are going to make a simple Captcha PNG image generator using built-in PHP GD library functions. For the purpose of this tutorial, things will be kept at minimum base level, yet customizable for a variety of needs. The plan itself is to create an image with your favourite image manipulation toolkit that...

Tags: php  

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  

September 14, 2017 / Comments: 0

How to connect to MYSQL database?

How to connect to MYSQL database? This tutorial will contain information about how to connect to MYSQL database using different programming languages and different techniques. In the first part, we will take a look at PHP mysqli, both procedural and object-oriented programming(OOP) methods and PDO(OOP only) and its prepared statements. In the second part, we'll...

Tags: mysql  php  bash  python  


2