Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21021 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24723 invoked by uid 1010); 3 Dec 2005 17:41:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24707 invoked from network); 3 Dec 2005 17:41:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2005 17:41:28 -0000 X-Host-Fingerprint: 206.130.11.96 unknown Linux 2.4/2.6 Received: from ([206.130.11.96:43504] helo=ns1.knowone.ca) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D1/BF-14828-7C8D1934 for ; Sat, 03 Dec 2005 12:41:27 -0500 Received: from DeathstarV.prodigal.ca (d141-110-37.home.cgocable.net [24.141.110.37]) (authenticated bits=0) by ns1.knowone.ca (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id jB3HhujZ030215 for ; Sat, 3 Dec 2005 12:43:57 -0500 Message-ID: <6.2.1.2.2.20051203123735.022aeeb0@mail.prodigal.ca> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Sat, 03 Dec 2005 12:41:24 -0500 To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed; x-avg-checked=avg-ok-46A55BA0 Subject: SAPI Module Development. From: ben@prodigal.ca (Ben Trafford) Hi! I'm starting work on a SAPI implementation for the TinyMUX server (http://www.tinymux.org). Basically, it's like a MUD server -- a telnet-based, textual roleplaying game. TinyMUX has a built-in programming language usually referred to as "MUXcode" or "softcode." Unfortunately, it's extremely limited. I'd like to create an internal server function called php() that allows you to pass MUX variables to PHP scripts, and receive a textual response from PHP. It seems that the simplest way to do this would be to directly integrate PHP into TinyMUX via a SAPI module. However, I can't find any documentation on SAPI, and most of the existing SAPI modules are largely undocumented. Is there anybody who'd be willing to chat with me off-list about my implementation? Or could anyone point me to an API manual for SAPI modules in PHP? Thanks! --->Ben