Integration Google Drive in PHP

Install Google APIs Client Library for PHP
for more info check https://github.com/googleapis/google-api-php-client

Authentication

SSL certificate problem: unable to get local issuer certificate

  1. Download this file: http://curl.haxx.se/ca/cacert.pem
  2. Place this file in the C:\wamp64\bin\php\php7.1.9 folder
  3. Open php.iniand find this line:

;curl.cainfo

Change it to:

curl.cainfo = "C:\wamp64\bin\php\php7.1.9\cacert.pem"

Make sure you remove the semicolon at the beginning of the line.

Save changes to php.ini, restart WampServer, and you’re good to go!

If laravel url is not working on server

if laravel url is working like index.php/user but not working in /user

If Cron not run automatically on server in laravel

carousel slider change image on mouse hover

ngx-datatable add server side pagination

Reset Datepicker in jquery

If getting npm installation error

It might be related to corruption in Angular Packages or incompatibility of packages.

Please follow the below steps to solve the issue.

Update

ASP.NET Boilerplate suggests here to use yarn because npm has some problems. It is slow and can not consistently resolve dependencies, yarn solves those problems and it is compatible to npm as well.

Display image before uploading

HTML

JS

Angular 5 Commands

Build for production

Build for dev

Run project using different port

Create component

Create module