Re: Re: PHP 5

From: Date: Wed, 02 Jan 2002 22:29:07 +0000
Subject: Re: Re: PHP 5
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-75693@lists.php.net to get a copy of this message
Yes it would have to be in every script in the vhost, location or directory
directive.

It could be a constant =) That would make my life easier.

Thanks,
-Joe

"Zeev Suraski" <zeev@zend.com> wrote in message
news:5.1.0.14.2.20020102234728.028651c0@localhost...
> At 23:33 02/01/2002, Joe Webster wrote:
> >I have something that I am currently dealing with:
> >
> >     Using mod_perl with apache, you can put this in a apache directive
> >(vhost, location, directory):
> >             PerlSetVar somevarname somevarval
> >     and that would pre-define somevarname equal to somevarval. We are
trying
> >to move completely to php (we're 1/2 php and 1/2 perl) however, we really
> >need to be able to set the vars like this. I did look through the
mod_php.c
> >and I noticed the php_value, php_flag, php_admin_value, and
php_admin_flag,
> >but nothing for a variable.
>
> Would it be defined in every PHP script that runs?  Does it really have to
> be a variable, or can it be a constant?
>
> Zeev
>




Thread (90 messages)

« previous php.dev (#75693) next »