Skip to main content

Login and Chat Application (AJAX,PHP-PDO and MySQL)

Language


*Credit to sir Argie Policarpio for initiating this kind of program.

Have you ever wished to make your own chat box? So bad if not! Nevertheless, chat boxes are just an amazing work of programming and art which have tremendous usage; either it’s good or bad. Before going through, I’ll first give my own definition of the word chat box, chat box is a place where user can input or type user’s message and that message will be sent and be viewed into user chat mates’ screen in real-time basis.
After defining chat box, next thing will be the introduction of the programming compositions of the project that will be made:
• PHP – It will be the manager of the chat box, why I called it manager? Just stick to the tutorial and it will be thoroughly discussed.
• MySQL – It will provide the back end portion of the project.
• AJAX – It’s an acronym for Asynchronous JavaScript and XML which will be the key for avoiding full page reloads.

To know more about this script. Visit my blog site:
www.proglecturer.blogspot.com

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted bySourabh_007 (not verified)on Fri, 07/11/2014 - 15:30

when i run localhost/chat/index.php
it gives following error

error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Submitted byrima (not verified)on Wed, 08/27/2014 - 16:58

Warning: include() [function.include]: Failed opening '../errors/err.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\chatbox\inc\connection.php on line 10

Submitted byemmaculate (not verified)on Thu, 09/04/2014 - 22:26

thank you for uploading the raw code for the chat project, i downloaded it and am interested in learning more about your apps.

Submitted byjmmaguigadon Fri, 09/05/2014 - 16:59

In reply to by emmaculate (not verified)

thank you for the appreciation. i do hope i can download more scripts here. i'll just finish my project and i'll download some scripts again. thank you again. :)

Submitted byJoseph B. Sesay (not verified)on Sun, 09/07/2014 - 20:29

hello!!!!
am on my final year project writing and I want you to help me with the basic entities and sample source code of the named system.. thanks

Submitted byalexana (not verified)on Tue, 12/30/2014 - 15:15

hi,
i want to get receiver id same as a click on dropdown user please can you tell me how to get.

thanks

Submitted byjmmaguigadon Sat, 01/10/2015 - 14:14

In reply to by alexana (not verified)

do you mean,after selecting in the selectbox the receiverid will be echoed?

install the needed file
*wampp
then put the extracted file in the htdocs then open your browser and put localhost/name_of_the_folder_where_the_file_is_located.

hey how can resolve this Warning: include(../errors/err.php): failed to open stream: No such file or directory in C:\xampp\htdocs\chatbox\inc\connection.php on line 10

Warning: include(): Failed opening '../errors/err.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\chatbox\inc\connection.php on line 10

Submitted byabuhuraira (not verified)on Tue, 03/24/2015 - 23:24

but i dont fine the username and the password

Submitted bysenthi (not verified)on Tue, 04/21/2015 - 19:02

i m luking script for audito video text chat in php,mysql? do u know any idear

Submitted byKorede Wise (not verified)on Sat, 10/24/2015 - 06:38

how can i use this chat application on my website what do i need to do?

Submitted byneed help (not verified)on Sat, 05/27/2017 - 17:05

get this

Warning: include(../errors/err.php): failed to open stream: No such file or directory in C:\xampp\htdocs\chatbox\inc\connection.php on line 10

Warning: include(): Failed opening '../errors/err.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\chatbox\inc\connection.php on line 10

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.