Hi Jason Sheets, you wrote:
Someone wrote a php module that did this around 6 to 9 months ago. It was easy to install but you needed access to php.ini.
Do you know where to get/download this module?

Regards,
Matthias


Try using extract with the option to use references so you don't create a copy of the variable just a pointer to it.


Jason


Matthias Nothhaft wrote:


Sorry this all is not what I'm looking for.
I see it is not possible at the moment.

It would be nice to have a php-function like

declare_superglobal($_MYFRAMEWORK);

And then use $_MYFRAMEWORK like $_GET.

Thanks nevertheless.

Regards,
Matthias

Ray Hunter wrote:

Well, this is clear, (I'm only new in the list - not in PHP ;-) )
but I want it in a better/shorter way
for the "master var" of a big project!




Yes you can set up a master file that includes all your master
vars...many php developers call this a configuration script and name it
config.php.

This allows users to set up global variables that are used through out
the application.


Is there a way to request such a feature and where?
I think this would be nice for application frameworks!?
Maybe also for PEAR...




There are implementations of this all thru PEAR.

--
BigDog










-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to