manueldg / server-socket
Script Php
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:project
This package is auto-updated.
Last update: 2025-06-26 21:58:33 UTC
README
Telnet PHP BBS Server
This repository cloned from https://github.com/Rotron/telnet-php-bbs-server modified and customized
Usage
1. Download the Script
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>
2. Config
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
3. Run the Script
Open a terminal or command prompt, navigate to the directory /src, and run the script using the PHP interpreter:
php index.php
4. Connect to the Server
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).
5. Interact with the BBS
For now you can register, log in, call up help, connection information, send read and delete messages and log out
6. Terminate the Server
To end the connection you can use ctrl + x
Customization
it is possible to add new features to the menu
License
This project is under the GPL 3 license