Introduction: Simple CMD/PHP Chat!
Hi! In this tutorial I will show you how to make a simple chat!
Step 1: Code 1
Open notepad and write this:
echo Hi, welcome to Chat!
set /p username=Enter your name:
echo %username% had joined! >>join.dat
set /p message=Say:
echo %username%: %message% (%time%)>> log.dat
Now save this as Chat.bat
Step 2: Code 2
Open a new file in notepad and write this:
timeout /t 2
Save this document as reciver.bat
Step 3: How to Make the Chat to Work?
Now we need to open both tabs!
And that's it! I hope you succeeded and you liked it!
Here are the