Example:

    We have 200+ radio station websites in a network. The way we store data
in the database is by call letters (since some websites have more than one
domain). So call letters (whor-fm :) ) are the key to just about everything
we do. So, in the vhost file for apache we want to set the station call
letters so that the letters are available to the code.

Thanks for the interest,
-Joe
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wed, 2 Jan 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.
>
> Could you give some example of why this would be that useful? (Just
> wondering in which way you use this).
>
> Derick
>



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to