Re: Re: PHP_Archive Last call for comments before vote!
| From: | Greg Beaver | Date: | Tue, 30 Nov 2004 05:19:58 +0000 |
| Subject: | Re: Re: PHP_Archive Last call for comments before vote! | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34650@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
from http://us2.php.net/include/ If "URL fopen wrappers <http://us2.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen>" are enabled in PHP (which they are in the default configuration), you can specify the file to be included using a URL (via HTTP or other supported wrapper so, you can do set_include_path('.;phar://blah.phar'); GregThis does sound alot cleaner, Although I do wonder how includes work from within the archive? [phar::somefile.tgz] ...abc.php.. -> "include '/def/xyz.php'; ...def/xyz.php unless you are adding phar::somfile.tgz to the include path?? - in which case does include path accept transport types..