One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
##locate this file on xampp/mysql/bin | |
##and create Task Schedule on Your Windows | |
mysqldump.exe --user=yourUser --password=yourPassword --host=localhost --port=3306 --result-file="D:\winorcl\dump.sql" --all-databases |
step1: Go to this file(/etc/mysql/conf.d/mysqld_safe_syslog.cnf) and remove or comment those line. | |
step2: Go to mysql conf file(/etc/mysql/my.cnf ) and add following lines | |
To enable error log add following | |
[mysqld_safe] | |
log_error=/var/log/mysql/mysql_error.log | |
[mysqld] |
//fixed by replace | |
Route::group(['middleware' => ['web']], function () { | |
... | |
}); | |
//with | |
Route::group(['middlewareGroups' => ['web']], function () { | |
... | |
}); |
At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)
Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.
... | |
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | |
/** | |
* Render an exception into a response. | |
* | |
* @param \Illuminate\Http\Request $request |
#laravel Message Error | |
PHP Warning: POST Content-Length of 11933650 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 | |
#Source Solution | |
-- http://stackoverflow.com/questions/2184513/php-change-the-maximum-upload-file-size | |
-- http://stackoverflow.com/questions/6279897/post-content-length-exceeds-the-limit |
<?php | |
/** | |
* This exemple shows how to parse base64 encoded images (submitted using Summernote), save them locally | |
* and replace the 'src' attribute in the submited HTML content | |
* | |
**/ | |
use Intervention\Image\ImageManagerStatic as Image; | |
class PostController { | |
public function edit(){ |
Model:: | |
/*Select*/ | |
select('col1','col2') | |
->select(array('col1','col2')) | |
->select(DB::raw('businesses.*, COUNT(reviews.id) as no_of_ratings, IFNULL(sum(reviews.score),0) as rating')) | |
->addSelect('col3','col4') | |
->distinct() // distinct select | |
/*From*/ |