The way to write your code

How to validate password strength in PHP - Clue Mediator

How to validate password strength in PHP

Today, we’ll explain to you how to validate password strength in PHP. It is very useful to check that the password is strong which protects the user accounts and prevents...

How to get a file extension in PHP - Clue Mediator

How to get a file extension in PHP

Today we’ll explain to you how to get a file extension in PHP. Getting a file extension is very useful for validating a file or file upload. Here, we’ll show...

Generate a random password in React - Clue Mediator

Generate a random password in React

In this short article, we’ll show you how to generate a random password in React. Here, we will create a small demo to generate a random password with different options...

How to save an image from a URL in PHP - Clue Mediator

How to save an image from a URL in PHP

Today we’ll explain to you how to save an image from a URL in PHP. Sometimes we need to download images from a remote server and use them in projects....

Convert XML to JSON in PHP - Clue Mediator

Convert XML to JSON in PHP

In this short article, we’ll explain to you how to convert XML to JSON in PHP. We can easily use the JSON format instead of XML. So we prefer to...

Password Strength Checker in React - Clue Mediator

Password Strength Checker in React

Today we’ll show you how to build a password strength checker in React. In this short article, we’ll implement the password strength bar in ReactJS using npm package. We have...

Show and hide password in React - Clue Mediator

Show and hide password in React

Today we are going to show you how to manage a show and hide password in React. In this short article, we’ll add the input password field to manage the...