Re: Life of environment variable set put putenv()
| From: | elias | Date: | Sat, 19 May 2001 18:19:46 +0000 |
| Subject: | Re: Life of environment variable set put putenv() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53510@lists.php.net to get a copy of this message | ||
never tried it though...but through my experience i would say:
The Environment values that are set within a script can be seen only within
child scripts (ie when script1.php spwans scrip2.php)
-elias
"Arcady Genkin" <antipode@thpoon.com> wrote in message
news:87bsoqxhr5.fsf@tea.thpoon.com...
> I could not find this in the docs, but maybe I've been looking in the
> wrong place. Could someone give me an authorative answer or point me
> to it someplace else, to the question:
>
> When you set an environment variable with putenv(), is there a chance
> that it would be visible to any other PHP script served by the same
> apache child?
>
> Many thanks,
> --
> Arcady Genkin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>