http://php.net/getenv
http://php.net/setenv
Why you want to set them in the Environment instead of just regular
variables is beyond me.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Yaroukh <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 3:07 AM
Subject: How to use environment variables in php.ini?


> Hi there
> Is there any way to use in php.ini previously set environment variables? I
> mean when I set doc_root to "C:/Documents and Settings/zaruba/My
> Documents/My Webs" and several lines below I need to set session_save_path
> to "C:/Documents and Settings/zaruba/My Documents/My Webs/.sessions" is it
> possible to write something like this? ...
> session.save_path = $doc_root/.share
> (ofcourse it doesn't work this way, I wouldn't ask if it did :o)
>     Yaroukh
> [Apache/1.3.20 (Win32) PHP/4.0.6]
>
>


-- 
PHP General 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