Websolutionstuff
I am Laravel and PHP Developer. I have also Good Knowledge of JavaScript, jQuery, Bootstrap and REST API.

In this example we will see how to upload multiple image in laravel 8. here, we wil see tutorial of multiple image upload in laravel.upload multiple images in laravel 8 is not a big task if you follow below steps then you can very easily upload image with validation.

So let’s see laravel 8 multiple image upload or laravel 8 multiple image upload with preview.

Read More : How to Upload Multiple Image in Laravel 8

In this tutorial I will give you information about Introduction of Node.js Modules. Node.js modules provide a way to re-use code in your Node.js application. Node.js modules to be the same as JavaScript libraries.

Node.js provide set of built-in modules which you can use without any further installation. like assert, crypto, fs, http, https, path, url etc…

Please check more details or modules on Built-in Module in Node js.

Include Module in Node.js

for include module use the require() function with the name of the module.

Now your application has access to the HTTP module, and is able to create a server.

Read More : Introduction of Node.js Modules

In this example we will see PHP access modifiers example. In PHP default access modifier is public. PHP provide different types of modifiers like private, public or protected. Properties and methods can have access modifiers which control where they can be accessed.

There are three access modifiers:

  • public - the…

Today in this post we will see laravel unique validation on update. unique validation rule in laravel is used when you want to validate any email id or mobile number.

Here, we will see laravel unique email validation on update form or laravel unique validation with condition, laravel provide “unique” rule for email unique validation in laravel. So, let’s see how to add unique validation on update in laravel

Here, you can create request class for email unique validation in laravel, run below command to create request class.

Example 1 : Unique Validation with Column Name

Example 2 : Simple Unique Validation

Example 3 : Unique Validation with Rule

Example 4 : Unique Validation with Update

Example 5 : Unique Validation with Update Rule

Read More : Laravel Unique Validation on Update

In this example we will see how to get current date and time in Node.js application. In Node.js date and time are handled with the Javascript Date object. It is loaded by default and requires no import of modules.

Also you can get current date, month, year, hour, minutes & seconds in Node.js. In Node.js you can get the current date-time formatted as YYYY-MM-DD hh:mm:ss, YYYY-MM-DD, DD-MM-YYYY etc.

And I will share example about how to get the current timestamp and how to get date-time from a given timestamp.

Example 1 :

The current date and time can be fetched by creating a new Date object.

Output :

2021–08–28T08:39:45.558Z

Read More Examples : How To Get Current Date And Time In Node.js

In this example we will see how to convert html to pdf using javaScript. PDF file format is very useful to download bulk data in the web application.It helps the user to download dynamic content in file format for offline use with export to PDF functionality.So here, we will generate pdf using javascript.

JavaScript is the easiest way to converting html to pdf and there are various JavaScript library is available for generating PDF from HTML. jspdf is one of the best library to convert HTML to PDF using JavaScript.

So, let’s generate HTML to PDF using JavaScript.

First creating an HTML Page for converting the HTML to PDF. Add the following code in your HTML page.

And finally you will get output like below screenshot when click Generate PDF button.

How To Convert HTML To PDF using JavaScript
How To Convert HTML To PDF using JavaScript

Read More : How To Convert HTML To PDF using JavaScript

In this small post i will show you how to disable right click using jquery. Here, we will disable right click on page using jquery. we will use the jQuery bind() method for jquery disable right click. when you don’t want your users to download your images at that time you can disble your right click function using jquery.

So, let’s see how to prevent right click option using jquery.

Example :

You might also like :

Websolutionstuff

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