I want a chat script开发者_JS百科 through which each registered member can independently chat with the visitors on the site.
What i want is something like trade manager on tradekey.
PHP is one of the worst things you can use for that. If you want a chat, embed an AJAX-based IRC chat (qwebirc for networks like gamesurge, freenode and quakenet; mibbit for others) or if it has to be a purely web-based chat use something that actually runs a chat server daemon so it can use techniques like COMET/long-polling and doesn't have to hammer your server with requests to check if something new has been written.
www.blueimp.net is Ajax open source chat.
php has web-socket and support forking, too. it is just not that academic language!
精彩评论