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
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.
What you want is the embed SAPI which can simply be linked against like any
other library.
At the moment, the only documentation available (that I know of) are some
slides Wez prepared for a conferrence two years ago. Dated perhaps, but
extremely relevant and very easy to follow.
http://www.php-kongress.de/2003/slides/internals_track/wez_embedding-php.pdf
-Sara
At 01:10 PM 12/3/2005, Sara Golemon wrote:
What you want is the embed SAPI which can simply be linked against like
any other library.At the moment, the only documentation available (that I know of) are some
slides Wez prepared for a conferrence two years ago. Dated perhaps, but
extremely relevant and very easy to follow.
And it has code samples!
Sara, you're a lifesaver. Thank you!
--->Ben
You're welcome ;-)
--Wez.
At 01:10 PM 12/3/2005, Sara Golemon wrote:
What you want is the embed SAPI which can simply be linked against like
any other library.At the moment, the only documentation available (that I know of) are some
slides Wez prepared for a conferrence two years ago. Dated perhaps, but
extremely relevant and very easy to follow.And it has code samples! Sara, you're a lifesaver. Thank you!
--->Ben