jQuery click events firing multiple times

Upload files in Laravel 5.4

There are few step

Step 1

Create FileUpload Model

Step 2

Create upload function

Call php function using wordpress ajax

WordPress Custom Theme Demo Importer

Download

Add Theme Option in WordPress

Load dynamic abn tree data in AngularJs

HTML

Useful Linux command

change root user

edit file

copy and overwrite

move

make 777 dir permission

If Session is not working in VPS

The session support can be turned on automatically at the site level, or manually in each PHP page script: Turning on session support automatically at the site level we have to modify some setting in php.ini file. you can get php.ini file in folder you install PHP. To your sessions you have to set or reset following parameter in your php.ini file

Define path to save sessions
session.save_path = “C:\php\sessiondata\”

Directory related to server session should be under 777 chmod > fully writable

Whether to use cookies.
session.use_cookies = 1

Name of the session (used as cookie name).
session.name = PHPSESSID

Define Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

;The path for which the cookie is valid.
session.cookie_path = /

The domain for w...

Show Amount in Words

Upload and resize image with unique path

Image Uploading Class