Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22249 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39434 invoked by uid 1010); 8 Mar 2006 16:02:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39419 invoked from network); 8 Mar 2006 16:02:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2006 16:02:53 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:1963] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 74/42-27106-D200F044 for ; Wed, 08 Mar 2006 11:02:53 -0500 Received: from localhost ([127.0.0.1] helo=stumpy) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1FH0ZM-0006AS-00; Wed, 08 Mar 2006 07:27:20 -0800 Message-ID: <002801c642ca$30f41f50$7d051fac@stumpy> To: "Sebastian Bergmann" Cc: References: Date: Wed, 8 Mar 2006 08:05:57 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original 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: "Tunnelling" require/include through userspace streams filter From: pollita@php.net ("Sara Golemon") include('php://filter/string.toupper/resource=/foo/bar/baz'); Filters can be stacked, set on the read or write chains individually (though the latter hardly matters for include/require), and resource can be another wrapper, not just a local file. Ref: http://www.php.net/wrappers.php -Sara ----- Original Message ----- From: "Sebastian Bergmann" Newsgroups: php.internals To: Sent: Tuesday, March 07, 2006 11:44 PM Subject: "Tunnelling" require/include through userspace streams filter > Is there a way to tunnel require/include through a userspace streams > filter? > > What I want to do is write a userspace streams filter and register that > as some kind of default filter through which require/include read their > files. > > Thanks, > Sebastian > > -- > Sebastian Bergmann http://www.sebastian-bergmann.de/ > GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69