Re: "Tunnelling" require/include through userspace streams filter

From: Date: Wed, 08 Mar 2006 16:05:57 +0000
Subject: Re: "Tunnelling" require/include through userspace streams filter
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-22249@lists.php.net to get a copy of this message
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" <sb@sebastian-bergmann.de> Newsgroups: php.internals To: <internals@lists.php.net> 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 


« previous php.internals (#22249) next »