Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9721 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29999 invoked by uid 1010); 8 May 2004 01:26:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29964 invoked from network); 8 May 2004 01:26:09 -0000 Received: from unknown (HELO standby2.xtra.co.nz) (210.86.15.58) by pb1.pair.com with SMTP; 8 May 2004 01:26:09 -0000 Received: from web2-rme.xtra.co.nz ([210.86.15.142]) by standby2.xtra.co.nz with ESMTP id <20040508012608.KCJY20507.standby2.xtra.co.nz@web2-rme.xtra.co.nz>; Sat, 8 May 2004 13:26:08 +1200 Received: from galaxy ([219.89.128.128]) by web2-rme.xtra.co.nz with ESMTP id <20040508012607.LGUO1956.web2-rme.xtra.co.nz@galaxy>; Sat, 8 May 2004 13:26:07 +1200 Message-ID: <003b01c4349b$8df1b620$0a00a8c0@home.jevon.org> To: "Srdjan Mijanovic" , References: <20040507163800.4886.qmail@pb1.pair.com> Date: Sat, 8 May 2004 13:26:57 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: [PHP-DEV] Read PHP script from... From: jevon@jevon.org ("Jevon Wright") Well, if you can get the file source out of the archive into a string, you could then eval() it. Hope this helps, Jevon ----- Original Message ----- From: "Srdjan Mijanovic" To: Sent: Saturday, May 08, 2004 5:51 AM Subject: [PHP-DEV] Read PHP script from... > Hello, > > I'm quite new to this newsgroup, and I hope this is the right place to ask > the question. > > I want to be able to read PHP source files from an archive. Script is not > present on the hard disk, but inside a file / archive. To do this, I can > supply the zend_stream object for reading and writing. > > How to integrate this into the ISAPI PHP? The major problem is with INCLUDE > function, which always assumes that we're including files from the disk... > while the content can come from other sources (archive) > > Thanks! > > Regards, > > Srdjan Mijanovic > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >