Environment variables...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'd like to read an environment variable with PHP.
I've tried with :
	exec ('echo $CONTEXTE_D_EXECUTION',$result);
$result is empty !!!

I've put the variable in /etc/environment, in /etc/profile,
in /etc/bash.bashrc but nothing worked...

Do you have any idea ?

If it is not possible, I suppose I can put a variable in php.ini ?

Thank you very much.

David.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux