Re: [PHP4BETA] additional headers in include and require functions

From: Date: Sat, 06 May 2000 10:47:10 +0000
Subject: Re: [PHP4BETA] additional headers in include and require functions
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-14581@lists.php.net to get a copy of this message
AK>> $http_heads["My head"]="adasz"; AK>> $http_heads["My head2"]="adasz2"; AK>> include("http://adasz.cnt.pl/gethead.php3"); Very nice idea. However: shouldn't $http_heads be a parameter? Making special-purpose hardcoded-name variables are generally very bad idea, and could break a lot of code. Also, it's harder to understand. But I think such feature is very useful and should be added to fopen-wrapped calls, if possible. Though, I think including code from non-authenticated foreighn site is very *bad* idea, but this idea could be used for better things. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.version4 (#14581) next »