Re: Re: PHP 5

From: Date: Wed, 02 Jan 2002 22:28:19 +0000
Subject: Re: Re: PHP 5
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-75692@lists.php.net to get a copy of this message
That is our fall-back plan, but that's not terribly effecient =) "Joao Prado Maia" <jpm@phpbrasil.com> wrote in message news:Pine.GSO.4.40.0201021708360.11280-100000@mercury.alloy.net... 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. > I know it is not the same as having it on the httpd.conf (.htaccess too?) but you can set a 'auto-prepend' PHP script, which could be used to define any constant or variable. Is this not an option for you guys ? Cheers, Joao -- João Prado Maia <jpm@phpbrasil.com> http://phpbrasil.com - php com um jeitinho brasileiro -- Precisando de consultoria em desenvolvimento para a Internet ? Impleo.net - http://impleo.net/?lang=br

« previous php.dev (#75692) next »