Bug #1657: New function, similar to include and require, including the environment
| From: | A dot Langhorst at itbnet dot de | Date: | Sun, 04 Jul 1999 10:39:29 +0000 |
| Subject: | Bug #1657: New function, similar to include and require, including the environment | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8063@lists.php.net to get a copy of this message | ||
From: A.Langhorst@itbnet.de
Operating system: All
PHP version: 3.0.11
PHP Bug Type: Feature/Change Request
Bug description: New function, similar to include and require, including the environment
I use include() to reduce code inside a script, if st. happens page1.inc will be included, else it
includes page2.inc. In these included pages there a no variables from the origination script
available.
I´ve to call EVERY variable from the basic script with $GLOABALS($var); - a function which tells
php to use the environment from the originating page would be very useful.
ie.
that function should work exactly like include(), but using the environment from the origination
script.