Create Simple Login Page with PHP and MySQL

Login page allows the registered user to access the website and manage its account by entering its username and password.

User SESSION is been created on a successful login attempt.

This helps to detect the user is actually logged in or not when going to other web pages and it also helps to display content according to the user.

In this tutorial, I show how you can create a Login page with PHP and MySQL.

Create Simple Login Page with PHP and MySQL

Read more

A Step-by-Step Guide to File Upload with PHP AJAX and jQuery

Uploading the files to a server is a common task in web development.

In PHP you can easily upload any type of file on the server using the move_uploaded_file() method. But it requires a form to be submitted for uploading the selected file.

You can make this process smoother with jQuery AJAX, it also improves user experience. You can directly display the image or file preview after it is been uploaded or alert an error if file is not validated without reloading the page.

For this FormData object is use to pass the selected file to the server using AJAX.

In this tutorial, you’ll learn step-by-step how to use PHP jQuery, and AJAX to upload files with validation and display its preview.

A Step-by-Step Guide to File Upload with PHP AJAX and jQuery

Read more

Check Username Availability with jQuery and AJAX

Establishing an online presence has become crucial for individuals and businesses in the digital age.

Creating a username is among the initial steps toward achieving an online presence. However, the increasing number of internet users has made it challenging to find an available username.

You can tackle this issue by creating a username availability checker that can determine if a username is already taken or not.

In this tutorial, you will learn how to use jQuery AJAX and PHP to create a simple username availability checker.

Check Username Availability with jQuery and AJAX

Read more