Комментарии:
Thank you very much!
Ответитьvery helpful
Ответитьthankyou so much
ОтветитьHi, Brother. Could you make project Learning Management System use Lavaral ? thank advance
ОтветитьSir ..thank you for this tutorials.. they help me very much
ОтветитьHello, I get ERR_CONNECTION_RESET when upload file from php form
ОтветитьHello sir nice tutorial, However I have some question and I got some problem with this. My question is how to upload file(.zip) into server?
ex. I used my laptop (Windows OS) and downloaded a .zip file and i want it to upload it in the server which is another computer and the OS is ubuntu. What should be my configuration in filestorage.hp and what shoul be the path to it? path->home/desktop/folder_name(not sure)?
HI sir ,i am working on Laravel 5.4 in an IT company just few days ago i have i've join ,thaks for the uploads,really nice tutorial
ОтветитьHey, How can i upload large files. Smaller files upload but when i want to upload large files say 8M above the mime type change to application/octet-stream and the size becomes 0 and the file doesn't upload with no errors. Can you help?
ОтветитьVery good. From Brasil
Ответитьwhen i upload a big file (10M for example) i get this exception on server side (Invalid request (Unexpected EOF)). Can you help me please?
ОтветитьI tried to upload video but video not in a particular folder where path is defined but its showing in output that
uploads/videos/Nsl3LMfzoJuRoV87fgQtda8oCFuX9CYsYcgSEyWk.mp4
but when I checked that videos folder its not showing.
how to handle error when try to upload a big file such as 10 mb? I don't need to upload more than 1 mb but I need to handle error.
ОтветитьHow about social login, using the API from social like Facebook/Twitter, how to store the image of the given link?
Ответитьi have been suffering since 2 days, finally found some help ... thank you
Ответитьover actor
ОтветитьHI Ankur
how the file storage working step by step .
In case if someone wants to upload the original name of the file and to avoid the duplicates, you can use the time() function, so check out my code:
if($request->hasFile('image')) {
$path = $request->image->getClientOriginalName();
$name = time() . '-' . $path;
$post->image = $request->file('image')->storeAs('public/posts', $name);
}
hey sir, I,m receiving this error again and again while i have enabled this extension form php.ini.development as well as in php.ini.production and also restarted xampp but still error is here
"Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)"
simply Thanks, my issue solved :)
ОтветитьThanks Dear
ОтветитьSir,
I'm getting this error
(1/1) LogicException
Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)
what is the reason ?
sir when i store the image in this way :-
return storage::putfile('public',$request->image->path());
it gives the following error :-
Call to a member function hashName() on string
why is this happening as i am giving the exact path in second parameter
I've a question, in case to try upload files in .mp3 format, is the same process to show, and, include, to listen? Do you understand me?
ОтветитьI just want to say. Your tutorials are really good quality and the 3.4K subs are deserved and you deserve more.
ОтветитьWell done ty :)
ОтветитьThank you very much!
Ответитьcan i do this method in laravel 5.1 ?
ОтветитьHi ankur. How do we upload a video and play it in the website?
Ответитьthanks for the video, what about multiple images :) thank you
Ответить