PHP Chat application (Complete Project) [+SOURCE CODE]

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 201

  • @nitinchandraushaamallick6379
    @nitinchandraushaamallick6379 3 ปีที่แล้ว +27

    Seriously you deserve more subscription and views thanks for sharing this wonderful project with us

    • @hostname47
      @hostname47  3 ปีที่แล้ว +4

      Thanks for your wonderful comment

    • @nitinchandraushaamallick6379
      @nitinchandraushaamallick6379 3 ปีที่แล้ว

      @@hostname47 if you don't mind can I give you personal opinion...

    • @hostname47
      @hostname47  3 ปีที่แล้ว

      @@nitinchandraushaamallick6379 Yeah of course I need that a lot !

    • @nitinchandraushaamallick6379
      @nitinchandraushaamallick6379 3 ปีที่แล้ว

      @@hostname47 can you please break this tutorial part by part

    • @somenathnaskar2198
      @somenathnaskar2198 2 ปีที่แล้ว

      @Rishi Pandya Yes, there is not available the folder named vendor.

  • @FaudiaxProductions
    @FaudiaxProductions 4 หลายเดือนก่อน +11

    my man made an entire social media app

  • @omyele9315
    @omyele9315 6 หลายเดือนก่อน +2

    Can you make this project from scratch by explaining the code and explaining the structure of how to build comment box , real time sending message etc features which you have included in your system . Your work is awesome

  • @AdrianOrig
    @AdrianOrig 8 หลายเดือนก่อน +2

    I already install "Composer" but the "Vendor" folder is missing in file. especially the "autoload.php" that's our problem.. can you help us?

  • @shahkey279
    @shahkey279 8 วันที่ผ่านมา

    This is awesome. Thank you . I have liked and subscribed.

  • @brucemlambo4158
    @brucemlambo4158 ปีที่แล้ว

    i am subscribing! u deserve more man! excellent work keep it up. which algorithm did u use for the app BTW

  • @htmoh8115
    @htmoh8115 2 ปีที่แล้ว +2

    habibi, I'm new to programming. Everything is above my head. How can I deploy it online? I'm trying to learn.

  • @lex-coded2703
    @lex-coded2703 7 หลายเดือนก่อน

    Dude, this is awesome, great time put into this

  • @backtic_education
    @backtic_education ปีที่แล้ว

    Finally. Barakallah Fik brother.

  • @godwinegwu4143
    @godwinegwu4143 3 ปีที่แล้ว +7

    COOL. I WILL TAKE TIME TO WATCH IT. THANK YOU

    • @hostname47
      @hostname47  3 ปีที่แล้ว

      Thanks brother !

  • @DiyintheGhetto
    @DiyintheGhetto 2 ปีที่แล้ว +1

    This is very cool you added features from social media wall and chat together into one.

  • @debrain1647
    @debrain1647 2 ปีที่แล้ว

    Mehn ..you deserve an award for this Script .. plane php and JavaScript .. awesome bro .

  • @mohammedfaraz5834
    @mohammedfaraz5834 ปีที่แล้ว +2

    Bro....please respond...your project is working on my pc...but..when i click to view my own profile..i can't view it and I am getting the error "Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\xampp\htdocs\chat\profile.php on line 139".When I click on Notifications and Groups,it is not opening.Please respond fast brother.

  • @theJohnCode
    @theJohnCode 2 ปีที่แล้ว +5

    Awesome but please can you do a step by step tutorial on this?

  • @htmoh8115
    @htmoh8115 ปีที่แล้ว +3

    Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\chat\index.php on line 4
    Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\chat\index.php on line 4
    I installed composer. But can't seem find the solution.

    • @jonathanvioleta3578
      @jonathanvioleta3578 หลายเดือนก่อน

      move the file into htdocs folder of thr xampp, its trying to find the existence over in it the folder name should be chats, follow the error of "No such file directory"

    • @htmoh8115
      @htmoh8115 หลายเดือนก่อน

      @@jonathanvioleta3578 I did have it inside the htcdocs folder. I put the chat file inside.

  • @gamermaster9876
    @gamermaster9876 ปีที่แล้ว

    It's amazing bro, GG and thanks for source code

  • @wilhelmusolejr4979
    @wilhelmusolejr4979 ปีที่แล้ว

    Why this channel is underrated ?????

  • @AMEMORENGEURISR
    @AMEMORENGEURISR 2 ปีที่แล้ว

    legend never die ,,, were are you from ?

  • @uzimagerishomo5495
    @uzimagerishomo5495 ปีที่แล้ว +1

    What can i do, i try to insatll the composer of json and doesn't accept
    help me

  • @naya3744
    @naya3744 ปีที่แล้ว

    You're killing bro🔥🔥

  • @tammykan4760
    @tammykan4760 3 ปีที่แล้ว +1

    you make me learn much more about the php, many thanks.
    I have a question that why I input the password twice to enter, can you fix the problem?

  • @raymondmoundzele4907
    @raymondmoundzele4907 2 ปีที่แล้ว +1

    Wow just wonderfull ! Thanks you very very munch

  • @akramelbasri3362
    @akramelbasri3362 ปีที่แล้ว

    Moaad tbarklah 3likk

  • @mehjabinpharmacy
    @mehjabinpharmacy 2 ปีที่แล้ว +2

    'vendor ' folder missed

  • @lakshmikumar9863
    @lakshmikumar9863 3 ปีที่แล้ว +1

    Please can you make a detail video how it works...from scratch..plz

  • @leosycreos
    @leosycreos 2 ปีที่แล้ว +2

    is it a way yto start a new chat with a random member ?

  • @urdadtai
    @urdadtai ปีที่แล้ว +1

    Could someone use this for commercial use?
    ex. If i change a few stuff add stuff could I deploy it to the web?
    Or is there some sort of Copyright?

    • @hostname47
      @hostname47  ปีที่แล้ว +1

      The souce code is 100% open ! you can use it in any manner you prefer

  • @CLFhama
    @CLFhama ปีที่แล้ว +3

    for the forgotten password, anyone can copy the hash from the hidden input and use it to confirm someone else email
    correct me if I'm wrong

    • @hostname47
      @hostname47  ปีที่แล้ว +1

      No, the hash in the login form is not the hashed password, it's a token used to confirm that the user who try to connect is the right person to prevent CSRF attack

    • @lowEndAppsAndGames
      @lowEndAppsAndGames หลายเดือนก่อน

      @@hostname47 HI what trick did you use to make the scrollToView() work on messages on a loop in php and output by html & js.
      Did you use the loop or you used ajax brought all of it as an object then work on it with js and if so did you accomodate replies?

  • @biaypanie2871
    @biaypanie2871 2 ปีที่แล้ว

    Oh bro you... I cant description this project... Amazing thank you

  • @umarisah4800
    @umarisah4800 3 ปีที่แล้ว +1

    What is the reason why you fetched two messages?
    I mean why is it that when you send one message it appears twice?
    And when you refresh the message disappears. Why?
    And when you delete a message why is it showing a notice that (“trying to get property ‘message_creator’ of non_subject in C:\xammp\htdocs\chat\api\messages\get_friend.php on line 76 ?
    Again another notice that (“trying to get property ‘message_creator’ of non_subject in C:\xammp\htdocs\chat\layouts\chats\ChatComponent.php on line 231 ?
    Please try and fix these errors
    I tried to fix them myself but I’m so much confused.
    Please I’m waiting for your feedback
    Thanks_For_Reading_My_Comment
    I wish I can get a reply together with the solutions to the error.

    • @hostname47
      @hostname47  3 ปีที่แล้ว +2

      Thanks brother for your interedt and your feedback yeah it has a lot of bugs I said that in the middle of the video
      Concerning the appearence of message twice thats because chat is implemented using long polling and that way is inefficient in chat instead chat needs websockets to work better This project I made it to apply my php knowledge
      When the page refreshed the message should stay I dont know why you said it disappear.
      As an advice brother I strongly reccommend you to start another project and make this project aside and try to add features one by one by copying every feature and fox its bugs that way you get it works as needed
      Im really sorry for the inconvenience

    • @umarisah4800
      @umarisah4800 3 ปีที่แล้ว

      @@hostname47 Thanks.😊
      But you are supposed to make another video as part 2 for this one and then fix all the bugs so your work can become clear.

    • @umarisah4800
      @umarisah4800 3 ปีที่แล้ว

      @@hostname47 We love your videos the most. Don't make us feel disappointed

  • @binkapS
    @binkapS 3 ปีที่แล้ว +1

    This Video is underated 😳😳

  • @CATEVIL
    @CATEVIL ปีที่แล้ว

    why when I send a message is sent in !null or blank?

  • @fathimahamad3572
    @fathimahamad3572 2 ปีที่แล้ว +3

    Hi, thanks you for this video .
    I have some problem, I can't install the composer.
    Bash : composer :command not found.
    Help please 😊

    • @hostname47
      @hostname47  2 ปีที่แล้ว +2

      Your error sais that the cooamnd not fou'd which means composer is not installed on your machine you can take a look at their docs on how to install it or some tutorial

    • @fathimahamad3572
      @fathimahamad3572 2 ปีที่แล้ว

      OK thanks bro
      Can I get your address mail please?

  • @siddhuwilson2038
    @siddhuwilson2038 3 ปีที่แล้ว +1

    love it, but can you do it over to use web sockets

  • @mahammedinafaa3993
    @mahammedinafaa3993 3 ปีที่แล้ว +1

    i have this error
    Fatal error: Uncaught Error: Class 'classes\Config' not found in C:\xampp\htdocs\PHP-CHAT-master\core\init.php:58 Stack trace: #0 C:\xampp\htdocs\PHP-CHAT-master\index.php(5): require_once() #1 {main} thrown in C:\xampp\htdocs\PHP-CHAT-master\core\init.php on line 58

  • @tthetakeofficial8625
    @tthetakeofficial8625 3 ปีที่แล้ว +1

    Welcome.
    Please tell me.
    Is XAMPP version 7.4.8 supported?

    • @hostname47
      @hostname47  3 ปีที่แล้ว +1

      I used xampp version 3.2.4 and php 7.4

    • @tthetakeofficial8625
      @tthetakeofficial8625 3 ปีที่แล้ว

      @@hostname47 Thank you.

    • @suyog_chavan6571
      @suyog_chavan6571 2 ปีที่แล้ว

      He hi do you have documentation (report)of this project please reply

  • @Justice-spy
    @Justice-spy 2 ปีที่แล้ว

    sick stuff bro

  • @narulan9325
    @narulan9325 2 ปีที่แล้ว

    Bro you're absolute legend

  • @hasanshabbir7656
    @hasanshabbir7656 ปีที่แล้ว

    can you please explain all others features and code as well...

  • @HowTo-tc1yj
    @HowTo-tc1yj 3 ปีที่แล้ว +1

    I am not getting any types of error but my main page is blank.
    I have uploaded the sql and I have put all the database information in init.php.?
    When I open the php file of login.php there is written that require one autoload.php which is in vendor folder but the files u give does not have any type of vendor folder and that script.
    I remove the require but its still blank.
    Plz help me.

    • @hostname47
      @hostname47  3 ปีที่แล้ว

      Yes, you need to run composer commands to be able to get the autoloader inside the vendor folder, Do you have composer installed already in your computer ?

    • @hostname47
      @hostname47  3 ปีที่แล้ว

      vendor and autoload files doesn't come with any project those files are generated from composer.json file by running the composer commands

    • @HowTo-tc1yj
      @HowTo-tc1yj 3 ปีที่แล้ว

      @@hostname47 no i dont know how to do that?
      can u please guide me right now ?

    • @HowTo-tc1yj
      @HowTo-tc1yj 3 ปีที่แล้ว

      @@hostname47 i dont have bash option in the terminal

    • @HowTo-tc1yj
      @HowTo-tc1yj 3 ปีที่แล้ว

      @@hostname47 how to install that thing in 000webhost server .
      i am installing that in pc but what to do in a server?

  • @alexstech23
    @alexstech23 2 ปีที่แล้ว +1

    nice job bro but how can we send any file to reciver please do that ????

  • @emmanuelonyekachukwujohn
    @emmanuelonyekachukwujohn 2 ปีที่แล้ว

    I have done every thing but it keeps show me 14 tables and a white screen

  • @nathanielleegraham5501
    @nathanielleegraham5501 3 ปีที่แล้ว

    i loved your work and i have hard you said if any issues you would love to help. i need help can you make a tutorial on a music sharing site. using streams of data please not am very very php beginner and want to learn php streams with a practical music streams and sharing site

  • @gordonorimba2061
    @gordonorimba2061 5 หลายเดือนก่อน

    Hey men... I need this project in my application please

  • @Siddiquientertainment1
    @Siddiquientertainment1 3 ปีที่แล้ว

    Nice work bro
    But i want audio and Video call system will you please help me??

  • @sunithathekkeveedu8516
    @sunithathekkeveedu8516 15 วันที่ผ่านมา

    Everything is ok but the message send or receivved is not displaying 😢 can anyone help me

  • @akugbedestiny8378
    @akugbedestiny8378 ปีที่แล้ว

    Thanks man.. but there is a problem.. when it comes to that composer path.. i can't install it.. it is saying -> bash: composer: command not found

    • @hichamel-argeouni5947
      @hichamel-argeouni5947 10 หลายเดือนก่อน

      you need to have the composer installed locally, this is a late replay

  • @MohamedSamir-n2o
    @MohamedSamir-n2o 9 หลายเดือนก่อน

    I do not know the English language, but I translate the comments. I find the followers thanking him. Is there someone who can explain to me what he does or what he offers? Hopefully it will benefit me.

  • @mkadobetutorials123
    @mkadobetutorials123 6 หลายเดือนก่อน

    its amazing bro

  • @lowEndAppsAndGames
    @lowEndAppsAndGames หลายเดือนก่อน

    Man you made all this?

  • @sagarm3411
    @sagarm3411 3 ปีที่แล้ว +1

    This is the error iam facing..Please help
    Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\chat\index.php on line 4
    Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\chat\index.php on line 4

    • @Matter743
      @Matter743 3 ปีที่แล้ว

      do u have composer installed??

    • @sagarm3411
      @sagarm3411 3 ปีที่แล้ว

      @@Matter743 nope where do I get that?

    • @Matter743
      @Matter743 3 ปีที่แล้ว

      @@sagarm3411 Google .. download composer ...it's a package manager .

    • @sagarm3411
      @sagarm3411 3 ปีที่แล้ว

      @@Matter743 ye I successfully installed composer still it's the same error.. is there anything I should do in terminal after Installing composer???

    • @Matter743
      @Matter743 3 ปีที่แล้ว

      yeah go to the project folder and ..create composer.json file,then run "composer install", after this run "composer dump-autoload"..run these command in project folder

  • @jdcservices2814
    @jdcservices2814 2 ปีที่แล้ว

    Thank you very much my teacher, is there a way to remove the root that is in the int.php file?

  • @dvtsantu
    @dvtsantu ปีที่แล้ว

    Really nice 🤠

  • @juliozamudio571
    @juliozamudio571 3 ปีที่แล้ว

    Just because you leaved source code i subbed like and commnet

    • @suyog_chavan6571
      @suyog_chavan6571 2 ปีที่แล้ว

      He hi do you have documentation (report)of this project please reply

  • @JoshuaLazaro-z9m
    @JoshuaLazaro-z9m ปีที่แล้ว

    keep it on bro

  • @hasanshabbir7656
    @hasanshabbir7656 ปีที่แล้ว

    can you tell me how u creates that logos?

  • @umarisah4800
    @umarisah4800 3 ปีที่แล้ว +1

    Is this responsive on mobile?

  • @chiefkeeflovessosa
    @chiefkeeflovessosa 2 ปีที่แล้ว

    some pages don't work, With that i mean, There is 2 or 3 pages not available.

  • @somenathnaskar2198
    @somenathnaskar2198 2 ปีที่แล้ว

    Error Occurred - require_once(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Project\Chat\index.php on line 4

  • @zokkomon2576
    @zokkomon2576 2 ปีที่แล้ว

    I didn't get it and it's shows white black whole page

  • @lukewalsh-nd5on
    @lukewalsh-nd5on ปีที่แล้ว

    how to upload to online hosting ?? i keep getting white screen

  • @bd2.o30
    @bd2.o30 2 ปีที่แล้ว +4

    Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\PHP-CHAT-master\index.php on line 4
    Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\PHP-CHAT-master\index.php on line 4

    • @dadanski
      @dadanski 2 ปีที่แล้ว

      Install your composer

    • @Harinjaka
      @Harinjaka 2 ปีที่แล้ว

      @@dadanski Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\chat_master\index.php on line 4
      Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\chat_master\index.php on line 4

    • @Harinjaka
      @Harinjaka 2 ปีที่แล้ว

      PS C:\xampp\htdocs\chat_master> $ composer install
      $ : Le terme «$» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès
      est correct et réessayez.
      Au caractère Ligne:1 : 1
      + $ composer install
      + ~
      + CategoryInfo : ObjectNotFound: ($:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

      PS C:\xampp\htdocs\chat_master>

    • @htmoh8115
      @htmoh8115 ปีที่แล้ว

      @@Harinjaka Hi, I am struggling. I did install composer. But its not working. Maybe something I am doing wrong or wrong file. Any help would be appreciated.

    • @timoteewo
      @timoteewo ปีที่แล้ว

      @@dadanski how

  • @mohammadkhattab2934
    @mohammadkhattab2934 2 ปีที่แล้ว

    This great job
    Can you give design, please?
    Thank you so much

  • @theduelist8360
    @theduelist8360 3 ปีที่แล้ว +2

    i like this!!
    gjj

  • @abdalkayoumcodesource
    @abdalkayoumcodesource หลายเดือนก่อน

    We need a control panel in this project

  • @hallonsafttdev
    @hallonsafttdev ปีที่แล้ว

    This svript dont have admin panel

  • @lasmocitas
    @lasmocitas 2 ปีที่แล้ว +1

    Bonjour Mouad
    Je peux avoir vos cordonnées professionnel ?

    • @hostname47
      @hostname47  2 ปีที่แล้ว

      I'm currently using laravel framework along with php

  • @joe6776
    @joe6776 ปีที่แล้ว

    Hey bro! Are you open for consulting work?

  • @pavel35569
    @pavel35569 5 หลายเดือนก่อน

    Where is the "Vendor" folder

  • @NauroHut
    @NauroHut 4 หลายเดือนก่อน

    I cant uncompress de composer file

  • @joe2745
    @joe2745 2 ปีที่แล้ว

    Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\xampp\htdocs\chat\profile.php on line 139

  • @yordanaquino6590
    @yordanaquino6590 2 ปีที่แล้ว +1

    hello in the git there is no vendor folder

    • @hostname47
      @hostname47  2 ปีที่แล้ว

      vendor folder generated using composer commands because it hold packages and artifacts neccessary for the project and it could be large that is why vendor folder is excluded from uploading
      You have to generate composer commands as shown in the beginning to have this folder

  • @umarisah4800
    @umarisah4800 3 ปีที่แล้ว

    Would this look nice on mobile phone?

  • @MayurPatil-yv6dz
    @MayurPatil-yv6dz 2 ปีที่แล้ว

    It's now works proper

  • @vascodagama6310
    @vascodagama6310 3 ปีที่แล้ว

    much love

  • @lucky7460
    @lucky7460 2 ปีที่แล้ว

    Thank you Sir for the tutorial.
    I have a question, got an error like this,, can you help me?
    Parse error: syntax error, unexpected '{', expecting identifier (T_STRING) in C:\xampp\htdocs\PHP-CHAT\index.php on line 7
    thank you

  • @myintlwin1204
    @myintlwin1204 2 ปีที่แล้ว

    Thank you sir

  • @renat5508
    @renat5508 5 หลายเดือนก่อน

    Its easy to start code?

  • @KunalTak
    @KunalTak 2 ปีที่แล้ว

    how to setup in local host i need help . please

  • @Yezwetv
    @Yezwetv 2 ปีที่แล้ว

    which php is supported by this .. mine is giving me error

  • @vaibhavbhawar2892
    @vaibhavbhawar2892 3 ปีที่แล้ว +1

    this is fantastic but I have got an fetal error
    I have mailed you

  • @randy3557
    @randy3557 2 ปีที่แล้ว

    Message are blank and getting null on my SQL database

    • @CATEVIL
      @CATEVIL ปีที่แล้ว

      hey, did you manage to solve it?

  • @Azade8639
    @Azade8639 2 ปีที่แล้ว

    Wow

  • @ramsy9130
    @ramsy9130 2 ปีที่แล้ว

    hey , how can i start it ?

  • @OnBoard-2023
    @OnBoard-2023 ปีที่แล้ว

    I just only have a question to ask you

  • @Wisman-wx4qp
    @Wisman-wx4qp 4 หลายเดือนก่อน

    if possible i could subscribe ten times

  • @smarttalaba8954
    @smarttalaba8954 3 ปีที่แล้ว +2

    Sorry i have problem

  • @mysteriousmistmmsj
    @mysteriousmistmmsj 9 หลายเดือนก่อน

    $ composer install
    bash: composer: command not found
    😭😭😭😭😭😭

  • @biaypanie2871
    @biaypanie2871 2 ปีที่แล้ว

    You make tutorial ?

  • @mcgtv47
    @mcgtv47 2 ปีที่แล้ว

    I say i missed vendor/autoload.php file

  • @u-boot3117
    @u-boot3117 2 หลายเดือนก่อน

    github source ?

  • @veljkocvetkovic1983
    @veljkocvetkovic1983 2 ปีที่แล้ว

    i cant install composer

  • @taiwoojo3864
    @taiwoojo3864 3 ปีที่แล้ว

    can admin delet user

  • @redab6254
    @redab6254 3 ปีที่แล้ว

    good job

  • @jeffriednouleho1407
    @jeffriednouleho1407 3 ปีที่แล้ว

    What's about groups? Or notification ?

  • @muhammadhamzahf658
    @muhammadhamzahf658 3 ปีที่แล้ว

    File vendor lost

  • @nanayawscriptures5508
    @nanayawscriptures5508 3 ปีที่แล้ว +1

    HOPE THIS WILL HELP

  • @ytehagiang
    @ytehagiang 3 ปีที่แล้ว

    Warning: Undefined array key 1 in D:\xampp\htdocs\chat\models\Post.php on line 99
    Warning: Attempt to read property "id" on null in D:\xampp\htdocs\chat\layouts\post\generate_last_post.php on line 21
    how to fix this???

    • @hostname47
      @hostname47  3 ปีที่แล้ว

      Which version of php are u using ?

    • @ytehagiang
      @ytehagiang 3 ปีที่แล้ว

      I'm using php 7.4

    • @tthetakeofficial8625
      @tthetakeofficial8625 3 ปีที่แล้ว

      tell me. Were you able to fix it?

  • @emmanuelonyekachukwujohn
    @emmanuelonyekachukwujohn 2 ปีที่แล้ว

    The site is completely white

  • @zokkomon2576
    @zokkomon2576 2 ปีที่แล้ว

    Hi