[TYPO3-dev] RCF: use stream wrappers to access files within extensions
Dmitry Dulepov [typo3]
dmitry at typo3.org
Tue Oct 9 14:59:47 CEST 2007
Hi!
Popy wrote:
> It will work, allow_url_fopen disable only http and https include, and most
> of the time, only allow_url_include is disabled
>
> The stream wrapper is already done : see extension pp_extstream
Are you sure? This is what documentation says:
------------------
allow_url_fopen boolean
This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers.
------------------
It means that zlib will not work as well. While others should work?
Description of fopen says:
------------------
If PHP has decided that filename specifies a registered protocol, and that protocol is registered as a network URL, PHP will check to make sure that allow_url_fopen is enabled. If it is switched off, PHP will emit a warning and the fopen call will fail.
------------------
There is something about network protocol here. Is it the key?
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-dev
mailing list