Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

How to upload file in database with Laravel 5.8

Step:1 composer create-project –prefer-dist laravel/laravel uploadfile

Step:2 make a controller like that.
php artisan make:controller ImageUploadController

Step:3 amke a Model
php artisan make:model File -m

Step:4 put this code in the create_files_table
 $table->string(‘filenames’);

Step:5 then make a Database it will be of File_upload

Step:6 write database name in the .env page

Step:7 then make migrate the table
php artisan migrate

Step:8 make a controller app/Http/Controllers/ImageUploadController.php and paste this code in the ImageUploadController.php

Step:9 paste this code in the web.php

Step:10 make a page in resources/views/imageupload.blade.php

Step:11 then run this command
php artisan serve
and run put this url in your browser
http://127.0.0.1:8000/imageupload

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.