I have been wanting the same thing, but I too have not found a solution, and
do not know if it will come around.

Being able to create your own super-global would be a very nice feature.

Jim Lucas
----- Original Message ----- 
From: "Matthias Nothhaft" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 11:44 AM
Subject: Re: [PHP] user-defined superglobals?


> 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
>
>

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

Reply via email to