SAPI Module Development.
| From: | Ben Trafford | Date: | Sat, 03 Dec 2005 17:41:24 +0000 |
| Subject: | SAPI Module Development. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-21021@lists.php.net to get a copy of this message | ||
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