Category: PHP

Partially hide email address in PHP - Clue Mediator

Partially hide email address in PHP

You may have noticed that sometimes email addresses are partially hidden i.e. your******@gmail.com on google, social sites for verification and other security purposes. Today we’ll show you how to partially...

Check if a file exists in PHP - Clue Mediator

Check if a file exists in PHP

During coding, sometimes we need to check if a file exists in a given directory or not before processing it using PHP. So, today we will explain to you how...

Ajax POST request with JQuery and PHP - Clue Mediator

Ajax POST request with JQuery and PHP

Today we will explain to you how to make ajax POST request with JQuery and PHP. In this article we’ll simply create form in HTML and submit form data via...

Convert base64 to image file in PHP - Clue Mediator

Convert base64 to image file in PHP

Today we will show you how to convert base64 to image file in PHP. In the previous article we learned how to convert an image to base64 encoded string using...

Delete all files from a folder in PHP - Clue Mediator

Delete all files from a folder in PHP

Sometimes, we need to delete all files from a folder in PHP. So today we will explain to you how to delete files from a folder using php. delete images...

Upload image using PHP - Clue Mediator

Upload image using PHP

Mostly, we need to upload images during the development of a php website. So, today we will explain to you an easy way to upload image using php. PHP File...

Autocomplete Textbox Using PHP, MySQL and jQuery - Clue Mediator

Autocomplete Textbox Using PHP, MySQL and jQuery

Autocomplete search shows the users list of matching results while types into textbox. In this article we will explain to you how to implement autocomplete textbox using PHP, MySQL and...

Get keys from an associative array in PHP - Clue Mediator

Get keys from an associative array in PHP

Today we write a short article on how to get keys from an associative array in PHP. array_keys() function, How to Get All the Keys of an Associative Array in...

Get current page URL in PHP - Clue Mediator

Get current page URL in PHP

In this tutorial, we will show you how to get current page url and parts i.e. path, domain, query strings, etc in php. Get the full URL in PHP, Get...