Posts

Showing posts from September, 2021

codeigniter

     function  __construct(){         parent::__construct();                    $this->load->library('form_validation');              require_once APPPATH . 'third_party\google-api-php-client-2.2.2\src\Google\Client.php';                  $this->client = new Google_Client();                  }

laravel password print

  <?php namespace   App\Http\Controllers ; use  Illuminate\Http\ Request ; use   Auth ; use  App\Models\ User ; // use Hash; class   AuthController   extends   Controller {           public   function   login ( Request   $request )     {          // $password = Hash::make('123456789');          // print_r($password);          if  ( Auth :: check ()) {              return   redirect ( 'admin/dashboard' );         }         return   view ( 'auth.login' );     } 123456789 ==> $2y$10$/Vi4JzOsEFC915qKkxn20u7faZ8zMZUcHBPUBMrGRQMmVJ4EU4i3C