manueldg/server-socket 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

manueldg/server-socket

最新稳定版本:v0.0.8

Composer 安装命令:

composer create-project manueldg/server-socket

包简介

Script Php

README 文档

README

Open Source Helpers

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

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2025-01-28