Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21972 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76278 invoked by uid 1010); 21 Feb 2006 17:16:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76263 invoked from network); 21 Feb 2006 17:16:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2006 17:16:27 -0000 X-Host-Fingerprint: 193.252.23.111 smtp17.wanadoo.fr Linux 2.4/2.6 Received: from ([193.252.23.111:57672] helo=smtp17.wanadoo.fr) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id FA/74-45151-AEA4BF34 for ; Tue, 21 Feb 2006 12:16:26 -0500 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1709.wanadoo.fr (SMTP Server) with ESMTP id 64FD97000097 for ; Tue, 21 Feb 2006 18:16:22 +0100 (CET) Received: from binaryse8a403f (AStDenis-102-1-12-64.w80-8.abo.wanadoo.fr [80.8.160.64]) by mwinf1709.wanadoo.fr (SMTP Server) with SMTP id 256BB700009F; Tue, 21 Feb 2006 18:16:20 +0100 (CET) X-ME-UUID: 20060221171621153.256BB700009F@mwinf1709.wanadoo.fr Message-ID: <002a01c6370a$69dc1730$6600a8c0@binaryse8a403f> To: , "Ben Trafford" References: <6.2.1.2.2.20060221052620.050965b0@mail.prodigal.ca> Date: Tue, 21 Feb 2006 18:15:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Anybody written a Java SAPI? From: mv-php@binarysec.Com ("Michael Vergoz") Hi, Take a look at sapi/php_embed/ You'll need a good skill in PHP engine this SAPI module is a good example. ----- Original Message ----- From: "Ben Trafford" To: Sent: Tuesday, February 21, 2006 11:31 AM Subject: [PHP-DEV] Anybody written a Java SAPI? > > Hello! > > And here I am, back with more SAPI questions. Having abandoned my earlier > project as unworkable, I'm trying to build a MUD server in Java...and I > want people from within the MUD server to be able to access functions > written in PHP. Seems like an ideal situation for a SAPI. > > I've seen JSR 223 from the Java community, but it appears only be focused > on servlets, which doesn't help me much. Basically, my requirements are > similar to my earlier questions on the list -- I want to be able to send > out a request, with arguments, to the PHP interpreter, and either return > nothing or return a string to the MUD server (which is Telnet-based). > > Has anybody written a SAPI for a straight Java application? I'm just about > ready to get started on the project, but I can't find any examples or > documentation for anybody doing anything like this, nor any really good > documentation on writing SAPIs. I don't think the Embed SAPI is going to > work for my purposes, but I'm willing to be convinced otherwise. > > Just to be clear: I don't want to make PHP use Java objects; I want a Java > application to use PHP. > > Thoughts? Pointers? Help? > > Thanks! > > --->Ben > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >