[PHP] Accessing env variables

2005-04-01 Thread Ravi Natarajan
Hi,

 

I have defined couple of environment variables in one of my apache
module using setenv() at fixups and handler function calls.

 

I have another php module, where I need to access these variables. So I
have defined these variables as "global $var1, $var2 ..etc";

 

When I try to access these variables as $var1 and $var2 , they don't
seem to be set, so I am not getting correct values, but they give
correct values when I acess them using getenv() call.

 

I thought that the global command would make the global environment
variables available in the local php code.

 

How to access these environment variables in my php code without using
getenv() call.

 

Thanks

 

Ravi Natarajan

 

 



[PHP] Mail Archives

2002-05-29 Thread Natarajan

HI,
1. Where are the mail archives of this mailing list? 
2. Any free online downloadable books ( html / pdf formats) on PHP?
Thanks
-- 
Natarajan



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Html Books on php

2002-05-28 Thread Natarajan

Hi,
I am a newbie. Could I get pointers to books on the web for 
PHP? 

Thanks for the help
Natarajan



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php