This repository cloned from https://github.com/Rotron/telnet-php-bbs-server modified and customized
Ensure you have downloaded the PHP script containing the Telnet BBS server code from this repository. you can edit the .env file to change host and port
git clone https://github.com/ManueldG/telnet-php-bbs-server.git
composer create-project manueldg/server-socket <folder-name>
Open .env file configure database settings and connection settings
DRIVER = "mysql" # select sqlite or mysql
#sqlite
DBASE = "database.sqlite" # database file name sqlite
Mysql
HOSTDB = "localhost"
PORTDB = "3306"
DBASEDB = "terminal"
USER = "root"
PASS = ""
#connection
HOST = "0.0.0.0"
PORT = 2324
Open a terminal or command prompt, navigate to the directory /src, and run the script using the PHP interpreter:
php index.php
Once the server is running, clients can connect to it using Telnet. They can do this by opening a terminal or command prompt on their machine and entering the following command:
telnet server_ip_address port_number
Replace server_ip_address with the IP address where your Telnet BBS server is running, and port_number with the port number specified in your script (default script is 2324 for Telnet).
For now you can register, log in, call up help, connection information, send read and delete messages and log out
To end the connection you can use ctrl + x
it is possible to add new features to the menu
This project is under the GPL 3 license