Login and Chat Application (AJAX,PHP-PDO and MySQL)
*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
need help (not verified)
Sat, 05/27/2017 - 17:05
Permalink
not working
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
Eggzy (not verified)
Mon, 12/21/2015 - 04:21
Permalink
...like a charm!
Works like a charm!!
Korede Wise (not verified)
Sat, 10/24/2015 - 06:38
Permalink
How to Use it on a website
how can i use this chat application on my website what do i need to do?
senthi (not verified)
Tue, 04/21/2015 - 19:02
Permalink
audio, video, text chat
i m luking script for audito video text chat in php,mysql? do u know any idear
abuhuraira (not verified)
Tue, 03/24/2015 - 23:24
Permalink
thanks
but i dont fine the username and the password
jmmaguigad
Sat, 04/25/2015 - 23:59
Permalink
credential
username: jmmaguigad password: espionage28
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
frankie.paguirigan
Sun, 02/22/2015 - 22:41
Permalink
very nice! thanks for this source code #php
wow! thanks for this
jmmaguigad
Wed, 03/11/2015 - 12:41
Permalink
welcome.
welcome. if you have any inquiry about this program later on, just tell it. :)
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
eldremn.villegas.1
Sun, 01/11/2015 - 15:58
Permalink
it only works online or even
it only works online or even no net connection.? is not working on the wamp server
jmmaguigad
Tue, 01/13/2015 - 13:01
Permalink
yes it's working
yes it is working even your offline. can you please specify or show what error you've encountered.
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
prakashpatel (not verified)
Fri, 01/09/2015 - 13:33
Permalink
how to execute this code
can anyone plz tell how to execute this code
jmmaguigad
Sat, 01/10/2015 - 14:11
Permalink
install wampp...
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.
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
sankara (not verified)
Mon, 04/13/2015 - 01:39
Permalink
hey how can resolve this
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
alexana (not verified)
Tue, 12/30/2014 - 15:15
Permalink
chat
hi,
i want to get receiver id same as a click on dropdown user please can you tell me how to get.
thanks
jmmaguigad
Sat, 01/10/2015 - 14:14
Permalink
what do you mean?
do you mean,after selecting in the selectbox the receiverid will be echoed?
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
Joseph B. Sesay (not verified)
Sun, 09/07/2014 - 20:29
Permalink
library Information System
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
emmaculate (not verified)
Thu, 09/04/2014 - 22:26
Permalink
like
thank you for uploading the raw code for the chat project, i downloaded it and am interested in learning more about your apps.
jmmaguigad
Fri, 09/05/2014 - 16:59
Permalink
thank you
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. :)
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
rima (not verified)
Wed, 08/27/2014 - 16:58
Permalink
error occur sir.......... plz reply fast
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
jmmaguigad
Fri, 09/05/2014 - 16:56
Permalink
please check the location
hello, that error just denote wrong location of the '../errors/err.php', please do check the location of that file then check the script. the script that i have downloaded is working well. please notify me if there's something wrong again.
#JM Maguigad, PHP and VB 6 System Developer/Freelance Programmer
#Contact Infos: [email protected] or 09752276378
Sourabh_007 (not verified)
Fri, 07/11/2014 - 15:30
Permalink
when i run localhost/chat
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.
Add new comment