IMAGE UPLOAD LARAVEL - HOW TO UPLOAD FILES

Sdílet
Vložit
  • čas přidán 31. 01. 2023
  • #laravel #laravelcourse #php #phpscripts #php8
    IMAGE UPLOAD LARAVEL - HOW TO UPLOAD FILES
    In this video, We will learn how can we upload and store images or files with the help of laravel.
    Thanks for watching!

Komentáře • 32

  • @hamzaali-eq9ol
    @hamzaali-eq9ol Před 4 hodinami

    thanks, it's helped me a lot thank you so much

  • @furqanzahid2882
    @furqanzahid2882 Před rokem +1

    Very Helpful

  • @veayuo9518
    @veayuo9518 Před 9 měsíci +1

    It is very important for me. Thank you very much for sharing.🙏🙏🙏

  • @aruproy698
    @aruproy698 Před rokem +2

    after long time ... welcome back

  • @sickz7660
    @sickz7660 Před rokem +1

    thank you bro this help me so much in my final project

  • @AdnanAhmed-rc9es
    @AdnanAhmed-rc9es Před 7 měsíci +1

    Good

  • @lordHoangDuy
    @lordHoangDuy Před 3 měsíci +1

    thanks for your video

  • @user-kr6oc5pl3u
    @user-kr6oc5pl3u Před rokem +1

    thanks, you very helped me

  • @InUrThought_3
    @InUrThought_3 Před 3 měsíci +1

    thanks for the video 🙏🙏🙏

  • @user-fi5bf3hl4n
    @user-fi5bf3hl4n Před 8 měsíci +1

    thanks for this tutorial ❤❤

  • @user-vc5bp1rv4r
    @user-vc5bp1rv4r Před 8 měsíci +1

    Well said bhai🙏🏽

  • @jeslyndanielleella408
    @jeslyndanielleella408 Před 4 měsíci +1

    It worked and I can see the uploaded image in the folder. However it keeps giving my an error saying "The picture failed to upload." even though it uploaded.

    • @takneekicode
      @takneekicode  Před 4 měsíci

      Provide me complete error or email me your code, so I could help

    • @jeslyndanielleella408
      @jeslyndanielleella408 Před 4 měsíci

      It seems like it is coming from my validator.
      $data = request()->validate([
      'emp_id' => ['required', 'string'],
      'givenName' => ['required', 'string', 'max:255'],
      'middleName' => ['nullable', 'string', 'max:255'],
      'lastName' => ['required', 'string', 'max:255'],
      'suffix' => ['nullable', 'string', 'max:255'],
      'sex' => ['required'],
      'birthdate' => ['nullable', 'date'],
      'birthplace' => ['nullable', 'string', 'max:255'],
      'position' => ['required', 'string'],
      'empStatus' => ['nullable', 'string', 'max:255'],
      'employee_type' => ['nullable', 'string', 'max:255'],
      'date_hired' => ['nullable', 'date'],
      'civilStatus' => ['nullable', 'string', 'max:255'],
      'picture' => ['nullable', 'image'],
      'salary_amount' =>['nullable', 'numeric'],
      'salary_type' => ['nullable', 'string', 'max:255']
      ]);
      when I removed the validation rules from 'picture' field, it uploaded with no problems. Should I just remove the validation?

  • @mohamedsalem9889
    @mohamedsalem9889 Před 3 měsíci +1

    so , you not need to link public disk with local disk ?

    • @takneekicode
      @takneekicode  Před 3 měsíci

      Yes if you do this code then no need to link storage

  • @ninqiwhitehamster2515
    @ninqiwhitehamster2515 Před 5 měsíci +1

    I can't input a million in the price, how to solve it?

    • @takneekicode
      @takneekicode  Před 5 měsíci

      Could not understand bro, please explain your question properly. Thanks

  • @peterombui1009
    @peterombui1009 Před rokem +1

    how do you do this in laravel10

  • @ruossovannra9527
    @ruossovannra9527 Před 10 měsíci +1

    you show only create and store image How about update brother?