Category: PHP

Google reCAPTCHA v3 in PHP - Clue Mediator

Google reCAPTCHA v3 in PHP

Google has introduced reCAPTCHA v3 verification to prevent spamming and abusive terrific traffic on websites. In this tutorial, we’ll explain to you an easy way to integrate Google reCAPTCHA v3...

How to convert a date format in PHP - Clue Mediator

How to convert a date format in PHP

Today, we’ll discuss how to convert a date format in PHP. For example if we have date in YYYY-MM-DD format and need to convert it to DD-MM-YYYY format. Using built-in...

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...

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...