HTTP Headers In PHP - Request & Response Headers - Full PHP 8 Tutorial

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 55

  • @robeeeeen
    @robeeeeen 6 місяців тому +8

    In 2024, still this is the best Free Advanced Php Course !!

  • @ugliBoro
    @ugliBoro 3 роки тому +7

    I'm learning php after a very long time and this channel is on point... Rather than the old php courses and videos on yt. Thank you, sir, you made php more approachable for me. Last time I gave up on php around a year ago due to lack of interest and the oddity of php since there weren't many contents and the available ones were either old or hard for me to understand(cause_individuality!). Currently have watched 15 videos on incognito but gonna continue on my official login. Once again, thanks for your hard effort to make an old language like PHP rebirth. Hope more and more people use your sources as a reference like I'm doing now.

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому

      Thank you so much. I'm really happy to hear that 🙏

  • @Vitalii-m6r
    @Vitalii-m6r Рік тому +1

    This PHP course is astonishing! Thanks a bunch!

  • @araujored1146
    @araujored1146 10 місяців тому

    I'm just now watching all the videos and implementig every good practice to my first app, these videos have been so helpful for me! Thank you, sir! Everyday I come here to learn something from a source that is trustable.

  • @Zubbee
    @Zubbee 2 роки тому +1

    Great lesson. In a small procedural personal php project I created, I used location headers to redirect after saving. Just saw that it was used but I didn't know anything else about it. But this lesson has covered it with explanations and covered many other areas too. These lessons are a gift Gio. Thanks alot. Also, I really like learning how things work. I'm now looking forward to seeing how frameworks help to make things faster. Thanks again

  • @truthteachers
    @truthteachers Рік тому +1

    Thanks a lot, bro

  • @cassidy318
    @cassidy318 2 роки тому +1

    This was very valuable for my debugging thank you!

  • @DanThemes
    @DanThemes 2 роки тому +2

    It would be awesome if in the future you'd teach a Laravel course (complete beginner to advanced). Given your knowledge and teaching skills, I'm sure many would pay to watch it.

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      I might :). Thank you for the suggestion

    • @ovidiublaga1
      @ovidiublaga1 2 роки тому +1

      I would pay to watch a symfony course from you

  • @federicobau8651
    @federicobau8651 3 роки тому +2

    Fantastic video, thanks

  • @Armando-px8hi
    @Armando-px8hi Рік тому

    It was very interesting to know about http request response numbers, by the time all of us always get 404 not found but no one knew why?😂 In Laravel I have used header but did not know where it comes from or how to correctly use it. Thank you Gio, can not wait to start the3section and the project.

  • @emekatimothyiloba699
    @emekatimothyiloba699 Рік тому

    Gio you are really good

  • @benderbg
    @benderbg 5 місяців тому

    Is there a reason why I'm not getting save dialog for files? File is still downloded from the "server", its just not giving me the option to select download location in both Chrome and Firefox.

    • @ProgramWithGio
      @ProgramWithGio  5 місяців тому

      Check console & see if there are any errors

  • @php3418
    @php3418 3 роки тому

    Very informative

  • @gosnooky
    @gosnooky 3 роки тому +4

    Sounds like you said headers are case-sensitive, but they are indeed case-INsensitive.

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +4

      That's right, I meant case-insensitive, not sure why it came out as case-sensitive. I cut it out so it doesn't confuse anyone. Thanks for catching it.

  • @hajiomary4913
    @hajiomary4913 Рік тому

    I try to implement download like you, and it works on firefox and not on chrome by saying insecure download blocked. WHY?

    • @ProgramWithGio
      @ProgramWithGio  11 місяців тому +1

      Something specific to your browser (security features) maybe or mismatching header, works fine on my end

    • @hajiomary4913
      @hajiomary4913 11 місяців тому

      Ok! Thanks bro, Another issue is I don't get a download window when I load a page is automatically downloaded and saved. @@ProgramWithGio

  • @szybkiinwalida8212
    @szybkiinwalida8212 3 роки тому

    Gio, how many videos do you planning to realese? And when we'll reach the third section of the course - the advanced one? Greetings from Poland

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому +5

      Hello. Just PDO/MySQL videos left for second section. So probably 2-3 videos and we move on to 3rd. We'll work on a project in third section and cover more advanced stuff

  • @lairotuT-Tutorial
    @lairotuT-Tutorial 3 місяці тому

    I don't remember... did I mention how great you are? 🙂

  • @kacperkaczmarczyk659
    @kacperkaczmarczyk659 2 роки тому

    What is difference between Http 1.1 and 2.0 in create header like HTTP/1.1 404 Not Found. It will be working the same?

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому +1

      http 2.0 should be faster/more efficient. You can read up on the exact differences between the two online, here is one as an example: www.digitalocean.com/community/tutorials/http-1-1-vs-http-2-what-s-the-difference

  • @د.جميلالقرشي-القناةالعربية

    how can i link file in folder 1 with a file in folder2 , i am coding : include_once 'fp/header.php'

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому

      You can use include or require to do that but better way is to use namespaces. Watch the lesson about include and require and then watch the lessons about namespaces and autoloading, the link to playlist is in the description of this video

  • @isaacsouza17
    @isaacsouza17 3 роки тому

    So what are we going to build? Got curious now

    • @ProgramWithGio
      @ProgramWithGio  3 роки тому

      Talked about it a bit at the end of first section. Going to be expense tracker kind of like budgeting app.

    • @isaacsouza17
      @isaacsouza17 3 роки тому +1

      @@ProgramWithGio really? Completely missed it. Anyways, it will be fun, waiting for it

  • @AtomTCP
    @AtomTCP 2 роки тому

    Nice but this dont redirect me to 403 page what i included in htaccess

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      Not sure what you mean, can you share your code? You can send me a DM on Twitter & send me the screenshot and I can take a look

  • @temotemo-lw2du
    @temotemo-lw2du Рік тому

    sagol dzmao am kursma damawyebina samsaxuri

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      მაგარია, გაიხარე და წარმატებები

  • @developeralimcu
    @developeralimcu 2 роки тому

    it will more help full for us if you push the code on github dear

    • @ProgramWithGio
      @ProgramWithGio  2 роки тому

      In later videos code is pushed to GitHub. In some videos we don't do much so I don't push just small snippets.

  • @samuelaniogbu5089
    @samuelaniogbu5089 Рік тому +1

    What php text did you read man?
    Youre like my personal php gpt.
    Going forward, anything i didn't learn from your channel cannot be used in production.

    • @ProgramWithGio
      @ProgramWithGio  Рік тому

      Heh, thank you 🙌. I mostly read documentation & articles. I generally just do a lot of research to make sure I have facts right

  • @dancarter6044
    @dancarter6044 Рік тому

    Why not use .htaccess to redirect a 404 to a special page.

    • @ProgramWithGio
      @ProgramWithGio  Рік тому +1

      You could, but we are not using htaccess files, we are using nginx in this section, not apache. Also its better to handle such cases via routing within the application

  • @abdfadee8267
    @abdfadee8267 Рік тому

    .