Form Validation Using Javascript For Registration
Form Validation Using Javascript For Registration

In this tutorial, we will learn the form validation using javascript for registration. Sometimes, HTML forms in web pages or any other forms are built to prevent the users to submit the form data to know whether the data or information entered by the users are correct or not.

If the information is correct then the form will allow the user to proceed further. We can do this with the help of a javascript event handler.

Also Read, auto calculate the sum of input values with javascript

Required Steps of validating an HTML form using Javascript


How To Display Image From Storage App Public Folder In Laravel 8
How To Display Image From Storage App Public Folder In Laravel 8

In this tutorial, we will learn how to display an image from storage app public folder in laravel 8. It is very simple.

Also we can display the files or images from the public folder of the laravel application but it is less secure than uploading in the storage directory.

On the other hand, the storage app directory is more robust and secure. So, it is recommended to use the storage filesystems always.

Before accessing a file from the storage folder, we need to upload a file or image inside the storage public folder of the laravel application.

Also Read…


How To Upload Image To Storage Folder In Laravel 8
How To Upload Image To Storage Folder In Laravel 8

In this tutorial, we will learn how to upload an image to storage folder in Laravel 8. Laravel makes it very easy to upload files in storage to protect from vulnerability though we can upload to a public folder of the Laravel Application.

There are generally two ways to store a file or image to storage folder in Laravel 8.

  • Using the storeAs() method.
  • Using the putFileAs() method that performs, in the same way, the storeAs() method works but in this example, we will use the storeAs() method.

Also Read, How to Upload an Image To Public Folder in Laravel

Required steps to upload image to storage folder in Laravel 8


How To Store Form Data In Session In PHP
How To Store Form Data In Session In PHP

In this tutorial, we will learn how to store form data in a session in PHP. We will take an example as shown in the above image with the help of an HTML form.

Using session, we can keep the form values even after submitting the data. If you do not know about the PHP session and how it works then go through the below tutorial link.

Also Read, Login and Logout Using Session in PHP and MySQLi

Required steps to store form data in session in PHP

  • We will get the form values from the…

How To Download File From Public Folder In Laravel 8
How To Download File From Public Folder In Laravel 8

In this tutorial, I am going to explain how you can download file from public folder in Laravel 8. So, in order to download any kind of image or file, you have to upload some files or images inside the public folder of the laravel application so that you can download the specific file from your blade template.

Also Read, How to Upload an Image To Public Folder in Laravel

Actually, there are two ways to download files from the public folder in Laravel.

  • You can directly download the specific image by including the filename in the public path while…

How To Display Image From Public Folder In Laravel 8
How To Display Image From Public Folder In Laravel 8

In this tutorial, we will learn how to display image from public folder in Laravel 8. It is very simple and easy. In order to access a file inside the public folder, we have to upload the file or the document first.

Read, How to Upload an Image To Public Folder in Laravel

If you do not know how to upload a file to a public folder in Laravel8 then go through the tutorial first from the above link.

If you are using the blade template then you can access the file with the help of stored file name in…


Nowadays, we are very much annoyed with our physical fitness that plays an important role in our life. Our physical fitness is decreasing day by day due to our daily work schedule and improper food consumption.

We all want to lose weight and fats in our bodies so that we look good and sleep well. As such, I have got the best weight loss medicine in 2021. The name of the medicine is ‘ Meticore’.

Meticore and Its Side Effects

Meticore is an extremely powerful, high-quality medicine made with natural ingredients taken from natural plants manufactured at FDA inspected state-of-the-art-facility.

Thousands of people are using…


How To Upload An Image To Public Folder In Laravel
How To Upload An Image To Public Folder In Laravel

In this tutorial, we will learn how to upload an image to public folder in Laravel. Usually, there are two ways to upload a file in Laravel.

  1. Upload into the public folder of Laravel is very easy.
  2. Upload files into Laravel Storage that is also very easy.

Also read, How to create laravel project from scratch step by step

Required Steps to upload an image in Laravel

Route::get('/uploadfile','UploadController@index');

Route::post('/uploadfile','UploadController@store');

  • Create a controller using the artisan command in the command terminal as shown below

php artisan make:controller UploadController

UploadController.php

  • Create a…

In this tutorial, we will learn about Middleware and how to authenticate routes in Laravel 8 using Middleware.

What is Middleware

  • If the user is not verified then the middleware will redirect that user to the login page of that application else the middleware will allow the user to proceed in the application.

How to assign a Middleware to a specific route

Before assigning a Middleware for a particular route, we have to provide a class…


How To Create Three Column Layout Equally Using HTML And CSS
How To Create Three Column Layout Equally Using HTML And CSS

In this tutorial, we will learn to create three column layout equally using HTML and CSS. In order to do this, we have to understand the following CSS properties.

Also Read, How to auto calculate the sum of input values using Jquery or Javascript

CSS properties to create three column layout equally

  • Width
  • Clear
  • Display
  • after Selector

Illustration of the example with the above CSS properties

Float:-

Float property defines how an element should float i.e. on the left side or on the right side. In this example, we will use the left property.

Width:-

It is used to define the width of each element. It may be columns, paragraphs, etc. …

Bipsmedium

Hi, This is Biplab and I am web developer well versed in PHP and other open source technologies. I am here to share my experience with the community.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store