Комментарии:
This is a ***, IN THIS VIDEO THIS *** PERSON IS NOT SAVING THE FILE INTO A DATABASE, IS SAVING IT IN LOCAL, ** YOU
Ответитьhello sir can you make a single video on name and groups route thank,s
Ответитьthanks ! but what about pdf file ?
Ответитьi want to read the ms word document raw data and store in to database
ОтветитьHello sir your tutorial was great but every time i use getClientOriginalName(); it shows me an error like Call to a member function getClientOriginalName() on null ......Hope to get a solution from you ...Thanks!
and I'm using Laravel 6.....
Technically, it's not a video about saving files to database: u saved a file in ur working folder. But the link of that file is stored in ur database..
Ответитьsarthak how to upload ppt or docs file ?
ОтветитьThank you Boy
ОтветитьHow to upload image using Ajax
Ответитьwonderful!
ОтветитьHi, i am uploading file in storage/app/public/ using php artisan storage:link but after uploading in cPanel it is showing error. as i am uploading all files under home/laravel/ and public folder in public_html
Ответитьthank you
Ответитьso after following your tutorial I tried using controller variable to call the image like this
<img src="{{asset('storage/upload/'.$photo->filename)}}" alt="{{$photo->filename}}" class="img-fluid">
the image is saved to database but the image won't show up on the view, only the alt filename. any idea?
Hi Bitfumes my file is store in database with like this 1551340812-4.jpg not with url paths like public/uploads/file
ОтветитьThank You
ОтветитьBriefly explained. Thanks
but at the you wrote hard coded image path like:
<img src="{{asset('storage/upload/pic.png')}}">
Every time only this particular image will be display in the browser.
is there any solution to get dynamically images with particular name or id?
Thanku sir
ОтветитьThanks from Russia!
ОтветитьHow to delete image file stored in storage/app/public folder storage:delete not working in laravel 5.4
ОтветитьDid you enable the php_fileinfo extension? how to solve this?
Ответитьit's working like charm, is there any way to populate old file while update image file ??
ОтветитьHey ! Thanks for this tutorial but i can't retrieve my files from the storage folder. It doesn't have any errors but it returns nothing even though i did what you did. Please help me on this :(
ОтветитьUse Laravel validation, set a rule for the image: 'image' => 'image|mimes:jpeg,png,jpg|max:2048',
Ответитьthanks, you was help me.
Ответитьgreat work!!
ОтветитьStorage link is not working on the server. I have followed your coding style, it works fine on localhost. But don't work on the server.
Is there any steps to do for making it work on the server.
I find when i store file, it saved in app/storage/public...., but file is not visible in app/public/storage/.....
Bye the Way thanks a lot for your tutorial, You are just doing awesome man.
you are awsome man... thanku... keep it up
Ответитьplease upload the video how to store and retrieve the image in text editor
i am not getting the image it just showing the image name
Dear Bitfumes
can you also make toturial for downloading file from database
Thank you.
ОтветитьWhen I upload other image,the original image shows...How to show the other image??
ОтветитьMany thanks, from shit Brazil!
ОтветитьThanks from Brazil!
ОтветитьSir you manually show file from database
ОтветитьHow File show from database
ОтветитьThank you ...your tuto help me for upload without ajax...
ОтветитьHi Bitfumes
i use actually laravel 5.5 upload file into a crud with ajax,
so i have an error 500 if i upload file...can you help me ???
Hello sir, i followed you tutorial, everything works well, but its not inserting in my DB, what could i be doing wrong? it sends the image to my app/public/image, but does not insert new row on my localhost mysql DB... any advice would be much appreciated, thank you
Ответитьyou are the best teacher, thank you sensei
ОтветитьI just wanna to thank you for your tutorial, the clearest one I found, neither Laravel's official docs are so easy to use! Thanks a lot! Liked and subscribed
Ответитьhello sir,
i am getting these error
FatalThrowableError (E_ERROR)
Class 'Filesname' not found
Hello, I need help men, I know that to create a symbolic link is with the php artisan storage: link that does public/storage to storage/app/public, but on a server that I need to do (using Cpanel), this folder is my project and public_html, is there any command or what should I do?
ОтветитьSir, which editor or application are you using for Laravel Coding?
ОтветитьHi,
Good day!
Great tutorial but i have question regarding to this topic.
After saving the file in the storage folder and to the database then how can we update that file?
Example i have a user then i want to update the file image. How its work?
When i try to used the code for store request for the update request the file cannot save to the storage folder and on the database its appear the Original file name only and not included the function for including time()
In short, i want to get the idea for the edit part and update the file image of certain user.
Thanks you!
Best regards,
Sir laravel is enough secure and or things required for full security. .
ОтветитьCould you do a video on importing csv files? :)
ОтветитьAs always, your videos are easy-to-follow, educative and practical. Thank you loads sir.
ОтветитьThank you . But how i can save name of picture with rand name without dir ?
I mean when i wrote $filename=$request->file->store('public/upload'); And i will save name with dir in my db. -_-