hanx007 / Chat-Application

web-based chat application with PHP and Jquery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat Application

Join the chat Contact me on Codementor Twitter URL DUB

Divyanshu Say Thanks!

Installation

  • I like to use Wamp server, so I suggest installing Wamp server . Once that is installed, execute the following instructions.

  • Run wamp server ❗.

  • Make sure you have placed this entire application inside 📂 c://wamp/www/chat_application.

  • Left click on the wamp icon in system tray It will display list of options Select “start all services”.

  • Then open your preffered browser and type localhost in address bar Hit enter ❗ It will show the default page of wamp server.

Now include this index.php (my php file name) at the end of the url.

Setting Up The Database (.SQL File is present in dbase Folder)

Method 1 ✏️ Using Mysql Console !

I like to use mysql, so I suggest installing mysql. Once that is installed, execute the following commands don't worry it is inbuilt in Wamp server !.

  • If you are using wamp you can try this. Just type use your_Database_name first.

  • Click your wamp server icon then look for MYSQL > MSQL Console then run it.

  • If you dont have password, just hit enter and type :

  • mysql> use database_name;

  • mysql> source location_of_your_file;

  • If you have password, you will promt to enter a password. Enter you password first then type:

  • mysql> use database_name;

  • mysql> source location_of_your_file;

Method 2 ✏️

  • Left click on the wamp icon in system tray and run PHPMyAdmin (Access your database via PHPMyAdmin).

  • Go to the Import files tab

  • Click Browse, locate the SQL file on your computer (it is present in sql database folder), click Open, and then click Go.

Contributing

  1. Create your branch: git checkout -b my-new-feature

  2. Commit your changes: git commit -m 'Add some feature'

  3. Push to the branch: git push origin my-new-feature

  4. Send a Pull Request

  5. Enjoy!

Example

alt tag

About

web-based chat application with PHP and Jquery

License:MIT License


Languages

Language:PHP 79.7%Language:JavaScript 12.8%Language:CSS 7.5%