File upload is quite easy and compact in PHP. We can upload a single or multiple files in PHP with just a few lines of code. PHP can handle uploaded files in POST requests with below constants. Read Also: PHP Multiple File Upload Using AJAX File Upload Using PHP Step 1: Create HTML Form To […]
Latest in How To
Scroll to Top of the Page Using jQuery
Here is the simple example to scroll to top of the page with jQuery. HTML code jQuery Code Also read: Scroll to bottom of the page using jQuery
How to Force HTTPS With the .HTACCESS File
HTTPS is a standard encryption protocol between client and server. Even more, HTTPS ensures security between client and server. What is HTTPS? HTTPS stands for HyperText Transfer Protocol Secure. We can force HTTPS with the .htaccess file if you are using Apache or Nginx. NOTE: You need to install the SSL certificate first to force […]
How to Add Drop Unique Key in MySQL
A unique key is a key that can be a column or a group of a column that defines the uniqueness of that record/row in the table. A unique key is different from the Primary key. The unique key can be a NULL value, whereas the Primary key cannot be a NULL value. Add and […]
Simple Registration and Login form with PHP and MySQL
Here we are discussing how to create simple login form in PHP and MySQL. You have to follow below basic steps for that. Before starting, you should know how to use PHPMyAdmin and some basic knowledge of PHP. Step 1: Create a Database Create a database in PHPMyAdmin. Create Table using id, username, email, password […]