codeigniter 4 redirect to public folder .htaccess Get link Facebook X Pinterest Email Other Apps December 03, 2021 <IfModule mod_rewrite.c> RewriteEngine on # Redirect requests to public RewriteRule ^$ public/ [L] RewriteRule (.*) public/$1 [L]</IfModule> Get link Facebook X Pinterest Email Other Apps Comments
codeigniter September 10, 2021 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(); } Read more
laravel password print September 05, 2021 <?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 Read more
Comments
Post a Comment