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

From: Date: Mon, 08 May 2000 13:15:43 +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-14673@lists.php.net to get a copy of this message
FN>> And an empty register_http_header() unregisters the hash FN>> from being automatically added to all requests (yes it makes FN>> sense, or perhaps unregister_http_header(), buy why pollute FN>> the namespace?) This seems to be exactly the same as, for example, adding parameter to include/open/whatever, only with long-time effect. But we do not really want to register any HTTP headers, we want to open file via with those headers. So why don't we say what we want? Why we need two function calls each time (you *have* to unregister them, or you forget them and your next HTTP-ized fopen will pass your headers to some alien site)? Won't it be easier just to do what we want to be done? -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.version4 (#14673) next »