Web

preg_match(): No ending delimiter ‘^’ found Laravel Full Name Validation Rules

The regex caused the error during validation check on Alphaspace Rules regular expression for below regex: return preg_match('^[a-zA-Z\s]+$',$value); To fix the issue add delimiters to regex, below is the right regex: public function passes($attribute, $value) { return preg_match('/^[a-zA-Z\s]+$/',$value); } # note / slash in start and end of the regex

How to check Laravel version?

How to check laravel version: Step1: Find Application.php file in your app and open it. \vendor\laravel\framework\src\Illuminate\Foundation\Application.php Step2: Scroll down to line which tells laravel version. const VERSION = '5.4.36';

How to remove browser modifier: Neobar malwar/virus from your PC

BrowserModifier:Win32/Neobar is malware which changes various browser data without notifying you. Windows defender provides the following information about this: The following error occurred: Error code 0x80070057. The parameter is incorrect. Category: Browser Modifier Description: This program changes various Web browser settings without adequate consent. Recommended action: Remove this software immediately. (more…)

Bootstrap Added to Gig Project

<!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

Gig Home Page Load Errors – Codeigniter

ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path: C:\Server\xampp56\htdocs\mistersuraj\gig\application\/vendor/autoload.php ERROR - 2017-02-18 14:17:00 --> Severity: Warning --> Division by zero C:\Server\xampp56\htdocs\mistersuraj\gig\application\views\home\home.php 85 ERROR - 2017-02-18 14:17:00 --> Severity: Warning --> Division by zero C:\Server\xampp56\htdocs\mistersuraj\gig\application\views\home\home.php 85 ERROR - 2017-02-18 14:17:00 --> Severity: Warning --> Division by zero C:\Server\xampp56\htdocs\mistersuraj\gig\application\views\home\home.php 85 ERROR - 2017-02-18 14:17:00 --> Severity: Warning...