修改php.ini
upload_max_filesize = 2M
改
upload_max_filesize = 10M
mac下改php.ini
/usr/local/etc/php/7.2/php.ini
修改php.ini
upload_max_filesize = 2M
改
upload_max_filesize = 10M
mac下改php.ini
/usr/local/etc/php/7.2/php.ini
$file = $request->file(‘photo’);
https://laravel.com/docs/5.1/requests#files
UPDATE `blog`.`wp_comments` SET `comment_approved`='spam' WHERE `comment_ID`>'40';