How to run PHP code in HTML file

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 138

  • @nellzappa61
    @nellzappa61 7 років тому +64

    i don't get how people can be so rude and ungrateful. If this person who's trying to help was your friend or child who had a disability of being mute, not even mute but can't afford a mic. Would you like him to get put down over the internet just because the video was voiceless? Even if this is the internet and no one will reprimand you atleast try to be a decent human being ffs.

    • @codexaccounts3584
      @codexaccounts3584 4 роки тому +1

      lol

    • @DJbon26
      @DJbon26 4 роки тому

      no matter how good/helpful a video is there must be "That-one-kid" to thumbs down lmaoo

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

      @@DJbon26 that's fine, but it's not "that one kid". Look at the like to dislike ratio.

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

      @@itsnottimetostop4462 Yeah your righttt but obviously it wouldn't be just one kid lol I meant 'people'. I never seen a video with no thumbs down

  • @marylucey1734
    @marylucey1734 5 років тому

    so im studying to be a web developer and am creating a chatroom for my website and am going to have to use php code, but is it true if you save a php file and try to open it as a web page using a web browser to get it to display as a web page in the browser it wont work, so if you write php code you still have to save it as a html file in order for it to display as a web page in a browser?

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

    only works on index.html files?

  • @ranjithpoojary2049
    @ranjithpoojary2049 4 роки тому

    Woow!! worked perfectly, have to save the file in .htaccess only as shown in the video not in any other name, very useful

  • @AngelCnderDreamer
    @AngelCnderDreamer 5 років тому +1

    Omg thank you so much for this! :) We need more videos like this! I'm surprise no body has did this yet. Again thank you!

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      could you help me because it didn't work for me

    • @AngelCnderDreamer
      @AngelCnderDreamer 4 роки тому

      @@nourarifi2642 I am sorry, but I sadly cannot help you. :c I haven't touch this in a long while and don't recall much of this video, plus I think it worked for me for a bit but didn't for long. I am even having trouble myself with getting PHP server to run, if that is what you need help with.
      Again, sorry I cannot help, wish I could. I wish you luck regardless.

  • @harishparamathmananda1385
    @harishparamathmananda1385 6 років тому +3

    thanks for solving my problem...now it's working..
    that .htaccess code is working even for xampp server too

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      it didn't work for me i'm using xampp server also :/

  • @deafrr
    @deafrr 8 років тому +1

    quick question. (Will server recognize it?)
    Will formmail work with .htaccess and AddType application/x-httpd-php .htm .html?
    How can server recognize php (formmail) without using html?

  • @DJTALKINGTOM
    @DJTALKINGTOM 4 роки тому

    if i add that the filr is getting downloaded while visting to it

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

    Thanks but is there any option to write php in normal notepad

  • @AqibA.C.
    @AqibA.C. 6 років тому +3

    It's not working at all for me, the php text just doesn't show up.

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      me too
      did you find a solution please ?

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

    Do you know if yo can put PHP into Wix this way?

  • @CapetownCarework
    @CapetownCarework 6 років тому

    Very good for beginners. Ty... Especially loved how loud the AI thumped the mother board ))));

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

    I am from Morocco, I encourage you a lot and thank you very much for helping me Keep launching videos

  • @spf7950
    @spf7950 7 років тому

    using bluehost . i have php file can count the files in folder .
    Ex. $count =9 .
    i have another file js .
    function load (x){
    alert (x);
    }
    i have html page index.html
    now
    《body onload=load(x)》
    i want to send the php result to the js function and to use this int.
    how can i do that
    i do not know anything about Ajax .
    can you help please?

  • @diegoherzap
    @diegoherzap 4 роки тому +12

    Thank you SO MUCH! I'been looking for a solutions for days. Much appreciated.

    • @nourarifi2642
      @nourarifi2642 4 роки тому +1

      could you help me because it didn't work for me

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

      @@nourarifi2642 you need wamp

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

      @@nourarifi2642 ua-cam.com/video/mx67Re19XlQ/v-deo.html

  • @AbdulRehman-uk9un
    @AbdulRehman-uk9un 7 років тому +4

    Thanks i have wasted two hours for searching this on stackover flow and other web forum.. Keep it Brother..

  • @assgrassgas2011
    @assgrassgas2011 8 років тому +7

    Thanks for this, simple but very helpful. :)

  • @TheMinderEngineer
    @TheMinderEngineer 6 років тому +1

    Keep hustling, big things incoming! 🚀

  • @TDAYoutubeChannel
    @TDAYoutubeChannel 9 років тому +5

    not working for me ...

    • @checkershow6377
      @checkershow6377 9 років тому

      +TDA UA-cam Channel in wampserver go to Apache and Apache modules and active [rewrite_module] work100%

    • @gnaneshgn8341
      @gnaneshgn8341 6 років тому

      @@checkershow6377 where should i have too find active[rewrite_module]?
      its not there in my apache modules

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      @@gnaneshgn8341 same problem did u fix it ?

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

    Another demystified php on browser! Tons of thanks for this very useful and helpful tutorial, Bro! Certainly, those php experts have been trying to conceal this very secret!! or they are too dumb to share this??

  • @mohammednur2309
    @mohammednur2309 4 роки тому +1

    I know how I will thank you but thank you very much😔👍 even if it is 5 years ago 😁 that u post it

  • @breedermei3220
    @breedermei3220 7 років тому +1

    Out of all the videos I’ve seen on YT for the past several days. No one mentioned .htaccess file was needed, to read the php file when embedded in the html file

  • @salimalkan3562
    @salimalkan3562 5 років тому +1

    Thank you for this, simple but very helpful method

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      could you help me because it didn't work for me

  • @prashik9250
    @prashik9250 4 роки тому

    Your videos are too helpful for me thank you so much once again

  • @h2obubbli
    @h2obubbli 7 років тому +2

    adding the .htaccess file into my server just downloads my html file everytime you visit the site....

    • @alexteme4
      @alexteme4 4 роки тому

      how did you solve that problem? I have the same...

  • @nimomaniachannel
    @nimomaniachannel 4 роки тому

    Didn't work for me?

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

    *Doesnt work.*

  • @anirudhkumar3032
    @anirudhkumar3032 4 роки тому

    now js validation is not working in the file

  • @boopathykrishnaswamy9017
    @boopathykrishnaswamy9017 4 роки тому

    It doesn't work for me. Can anyone explain

  • @sairayoung2364
    @sairayoung2364 5 років тому +2

    This is very helpful! :) Thank you!

  • @happyfone2974
    @happyfone2974 5 років тому +1

    this wont work

  • @issac9897
    @issac9897 4 роки тому

    God bless u... U r speachless teacher

  • @therareinfo3109
    @therareinfo3109 6 років тому

    it's not working in linux live server

  • @IBADELECTRONICS
    @IBADELECTRONICS 6 років тому

    any more videos about this topic???????????

  • @vocelia
    @vocelia 6 років тому

    Not working :(

  • @ThembelaniZwane
    @ThembelaniZwane 5 років тому

    WONDERFUL! GREAT STAFF THERE!!!!

  • @honeypreet450
    @honeypreet450 9 років тому +1

    it is not working what to do now

    • @checkershow6377
      @checkershow6377 9 років тому

      +honey preet in wampserver go to Apache and Apache modules and active [rewrite_module] work100%

  • @syabilaniq8002
    @syabilaniq8002 7 років тому +1

    this video help me so much, thankyou

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      could you help me because it didn't work for me

  • @ManiKandan-pm6no
    @ManiKandan-pm6no 5 років тому

    it's working well thanks friend.heep sharing more

  • @somerandomstuff37
    @somerandomstuff37 6 років тому

    thank you for your help. saved my time

  • @alpha-linkpvtltd2738
    @alpha-linkpvtltd2738 2 роки тому

    very important video.

  • @yasmeencerny4660
    @yasmeencerny4660 6 років тому

    very simple and time saving

  • @noeliamh7787
    @noeliamh7787 5 років тому

    It works! Thanks a lot!

  • @Ishizu09
    @Ishizu09 8 років тому

    it doesn't work T_T

  • @Notchmods
    @Notchmods 7 років тому +3

    Set your speed to 1.5 you'll thank me later unless you're watching this on android or IOS device???

  • @princewillikenna2838
    @princewillikenna2838 4 роки тому

    Very insightful

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

    Great video but did not work for I did add the .htaccess file.

  • @guitarlegendjoker
    @guitarlegendjoker 7 років тому

    Thanks bro, now it works for me!

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      could you help me because it didn't work for me

  • @PankajChauhan-012
    @PankajChauhan-012 3 роки тому

    Bice brother 👍

  • @OanaTheMeerkat
    @OanaTheMeerkat 5 років тому

    thanks, you saved my live

  • @MrKasa10
    @MrKasa10 7 років тому +1

    не работает

  • @wiamfadel7321
    @wiamfadel7321 6 років тому

    not work

  • @flaxtv01
    @flaxtv01 5 років тому +1

    thank you very nice

  • @Javier-yd5qf
    @Javier-yd5qf 4 роки тому

    The real MVP

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

    Thank you so much master 💘

  • @Algird75
    @Algird75 8 років тому

    Thank you! Subscribed!

  • @kylemartin1089
    @kylemartin1089 4 роки тому +1

    I've never seen someone type so slowly

    • @mayattv4986
      @mayattv4986 4 роки тому

      An ungrateful bitch once again

    • @kylemartin1089
      @kylemartin1089 4 роки тому

      @@mayattv4986 how did you get such a positive mental attitude? I'm impressed by your pure optimism

  • @NathamuniC
    @NathamuniC 4 роки тому

    Thank u so much....👍

  • @tamlq97
    @tamlq97 6 років тому

    thanks you! that is answer i'm looking for
    .

  • @nabilaabrak5738
    @nabilaabrak5738 8 років тому

    It works, thank you.

    • @nourarifi2642
      @nourarifi2642 4 роки тому

      could you help me because it didn't work for me

  • @deanjones2525
    @deanjones2525 5 років тому

    Thank you very very much. :)

  • @ibbikhan635
    @ibbikhan635 7 років тому

    Thank You It helped alot.

  • @DoozyOfficial
    @DoozyOfficial 4 роки тому

    listening to those mouse clicks thou lmao

  • @positive_approach9283
    @positive_approach9283 6 років тому

    plz add audio ...

  • @thetechpianoplayer6796
    @thetechpianoplayer6796 6 років тому

    can you please talk in the next video you make please

  • @navedahmedkhan4899
    @navedahmedkhan4899 4 роки тому

    Thanks a lot buddy.....

  • @happyfone2974
    @happyfone2974 5 років тому +1

    that was the worst 7:08 minutes of my life...

  • @jimmythetux8510
    @jimmythetux8510 5 років тому +1

    Simple anwser to those who cant get it working. Write in JavaScript :) Hope i helped.

  • @theyja1
    @theyja1 7 років тому

    thank u so much bro :)

  • @happyfone2974
    @happyfone2974 5 років тому

    a fucking notepad tutorial

  • @umutdonmez2707
    @umutdonmez2707 8 років тому +1

    Thank you for this video, U are awesome bro :)

  • @praveenRNSMCA30
    @praveenRNSMCA30 9 років тому +1

    Thanks Bro

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

    THANK YOU OMG

  • @sankethb.k642
    @sankethb.k642 5 років тому

    Thanks a lot.

  • @xiangjieyang6242
    @xiangjieyang6242 5 років тому

    Thank you!

  • @maribelmayhua8397
    @maribelmayhua8397 6 років тому

    Thank you !!!! : )

  • @checkershow6377
    @checkershow6377 9 років тому

    work for me thx

  • @shivayadav-sr3ic
    @shivayadav-sr3ic 7 років тому

    Thanq bhai

  • @mishkamartyshka101
    @mishkamartyshka101 7 років тому

    Thank you :)

  • @wmenwords
    @wmenwords 6 років тому

    works for my chrome. you guys have to check ur browser updates before u comment shit in here. by the way thanks to so phy for helping me out... u r great

  • @BigMovieBox
    @BigMovieBox 8 років тому

    Thanks so much

  • @sureyyaxelilova6143
    @sureyyaxelilova6143 7 років тому

    big thanks

  • @hope__8929
    @hope__8929 7 років тому

    thanks so phy...

  • @InternetOglasiOrg
    @InternetOglasiOrg 9 років тому +1

    Thanks for video, and If didn't work with line what is written on video, tray with this line in .htaccess:
    AddHandler application/x-httpd-php5 .html .htm .php I make that in this website, and work alfanekretnine.me/ I think that someone have problem with first code because configuration for server is different for some user.

  • @valdisbalodis9460
    @valdisbalodis9460 8 років тому

    Fake !!!!!!!!

  • @thornily2250
    @thornily2250 4 роки тому

    honestly get a mic

  • @frankwylie1244
    @frankwylie1244 9 років тому +8

    thanks for wasting my time.

  • @selvoselvo1
    @selvoselvo1 6 років тому

    complete nonsense

  • @SumitSharma-ub5ie
    @SumitSharma-ub5ie 7 років тому

    ohh bro u jst wasted 10 minutes of my life....

    • @breedermei3220
      @breedermei3220 7 років тому

      Sumit Sharma how so. No one forced your dumb ass to watch it. You did that on your own free will.

  • @paijoganteng8600
    @paijoganteng8600 8 років тому

    lol... u can running php on jpg extensions
    write some code php and save as jpg
    create .htaccess with AddType application/x-httpd-php .jpg
    done.. u can run php on jpg extensions =))

  • @nourarifi2642
    @nourarifi2642 4 роки тому +1

    it doesn't work for me can someone help me ?

  • @jacobstech1777
    @jacobstech1777 5 років тому

    doesn't work with linux and windows

  • @jimmythetux8510
    @jimmythetux8510 5 років тому

    Simple anwser to those who cant get it working. Write in JavaScript :) Hope i helped.

  • @rvxn
    @rvxn 4 роки тому +1

    Thanks a lot

  • @prashik9250
    @prashik9250 4 роки тому

    Thank you so much