Re: Re: PHP 5
| From: | Zeev Suraski | Date: | Wed, 02 Jan 2002 23:28:47 +0000 |
| Subject: | Re: Re: PHP 5 | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75711@lists.php.net to get a copy of this message | ||
Good point :)
At 01:15 03/01/2002, Sander Steffann wrote:
Hi, We do exactly the same with Apache SetEnv:SetEnv media_regionaam apeldoorn SetEnv media_regioid 27 SetEnv media_module indexAnd we get them in the PHP script with $GLOBALS['HTTP_SERVER_VARS']['media_regionaam']; Works great for us. Sander ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: "Joe Webster" <joe.webster@citcomm.com> Cc: <php-dev@lists.php.net> Sent: Wednesday, January 02, 2002 11:40 PM Subject: Re: [PHP-DEV] Re: PHP 5 This could probably be done. It does sound helpful. Zeev At 00:29 03/01/2002, Joe Webster wrote:Yes it would have to be in every script in the vhost, location ordirectorydirective. 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...directiveAt 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 apacheare(vhost, location, directory):PerlSetVar somevarname somevarval and that would pre-define somevarname equal to somevarval. Wetryingreallyto move completely to php (we're 1/2 php and 1/2 perl) however, wehave tomod_php.cneed to be able to set the vars like this. I did look through thephp_admin_flag,and I noticed the php_value, php_flag, php_admin_value, andbut nothing for a variable.Would it be defined in every PHP script that runs? Does it really-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netbe a variable, or can it be a constant? Zeev-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net