<?php require_once 'ext/Server.php'; require_once 'ext/Server/Handler.php'; class Net_Server_Handler_Talkback extends Net_Server_Handler { var $clientStatus = array(); function onConnect($clientId = 0) { $this->setClientStatus($clientId); $this->_server->sendData($clientId, "Hello. [quit] to exit\r\n"); $this->_server->broadcastDataToNeighbors($clientId, "\r\nclient {$clientId} entry!!\r\n"); } fu
![PHPとFlashでチャット](https://cdn-ak-scissors.b.st-hatena.com/image/square/39e482c008d605a5b5f9180e98756d084baf2b67/height=288;version=1;width=512/https%3A%2F%2Fblog.asial.co.jp%2Fogp-logo.jpg)